    :root {
  --muted: #f6f6f8;
  --muted-foreground: #717182;
  --accent-color: #4F46E5;
  --radius: 10px;
  --white: #fff;
  --black: #000;
}
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, sans-serif;
      background: var(--white);
      color: #333;
      line-height: 1.6;
    }

    body p {
      color: var(--muted-foreground);
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .hollow {
      color: transparent;
      -webkit-text-stroke: 1px var(--black);
    }

       

  .navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

     .navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 2px 2px 4px var(--muted-foreground);
  }

  .navbar-title {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
    position: absolute;
    top: 20px;
    left: 80px;
    color: var(--black)
  }

   li {
      list-style-type: none;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      position: absolute;
      top: 0;
      right: 0;
      padding: 20px;
    }

      .nav-links li a.active-tab{
      color: var(--accent-color);
    }

    li>a:hover {
     background: linear-gradient(to right, var(--accent-color), purple);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      transition: all 0.3s ease; 
    }

 .navbar-plan-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-left: 12px;
    margin-top: -5px;
  }

  .navbar-plan-btn:hover {
    background: linear-gradient(to right, var(--accent-color), purple);
    scale: 1.02;
  }

  /* Hamburger button hidden on desktop */
  .navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  /* Turn into an X */
  .navbar-toggle.active {
    transform: rotate(90deg);
  }

    .welcome-section {
      position: relative;
      height: 400px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
      background: rgba(0, 0, 0, 0.5);
    }

    .welcome {
      text-align: center;
    }

    .welcome h1 {
      font-size: 80px;
      color: var(--white);
      font-weight: 600;
      margin: 0;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .welcome h1:hover {
      -webkit-text-stroke: 2px var(--white);
      color: transparent;
      transition: 0.5s ease-in-out;
    }

    .welcome-section.shift-down .welcome {
      transform: translateY(20px);
      opacity: 0.9;
    }

    .welcome p {
      color: var(--white);
      font-size: clamp(16px, 3vw, 20px);
      max-width: 600px;
      margin: 20px auto 0;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .welcome-section.shift-down .welcome p {
      transform: translateY(10px);
      opacity: 0.9;
    }

    .welcome a {
      text-decoration: none;
      display: inline-block;
      color: var(--white);
      font-size: clamp(16px, 2.5vw, 24px);
      border: 2px solid var(--white);
      padding: clamp(8px, 1.5vw, 14px) clamp(30px, 5vw, 70px);
      border-radius: 50px;
      margin-top: 20px;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .welcome a:hover {
      opacity: 0.7;
      transform: translateY(-2px);
    }

    .welcome-section.shift-down a {
      transform: translateY(10px);
      opacity: 0.9;
    }

    .back-video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      object-fit: cover;
      z-index: -1;
      opacity: 0.5;
    }

    /* Ministries Overview Section */
    .section-ministries-overview {
      padding: 4rem 2rem;
      background: var(--white);
    }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .overview-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .overview-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: var(--black);
    }

    .overview-header p {
      margin-top: 0.5rem;
      font-size: 1.125rem;
      color: var(--muted-foreground);
    }

    /* Ministries grid */
    .ministries-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .ministry-card {
      background: var(--white);
      border: 1px solid var(--muted);
      border-radius: 0.5rem;
      box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
      overflow: hidden;
      text-align: center;
      transition: box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .ministry-card:hover {
      box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    }

    .ministry-image-wrapper {
      position: relative;
      height: 120px;
      background-color: var(--muted);
      overflow: hidden;
    }

    .ministry-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .ministry-overlay {
      position: absolute;
      inset: 0;
      background-color: rgba(37, 99, 235, 0.6);
      opacity: 0.6;
      transition: opacity 0.3s ease;
    }

    .ministry-card:hover .ministry-overlay {
      opacity: 0.7;
    }

    .ministry-overlay.amber {
      background-color: rgba(243, 176, 7, 0.6);
    }

    .ministry-overlay.gray {
      background-color: rgba(69, 198, 69, 0.6);
    }

    .ministry-overlay.pink {
      background-color: rgba(219, 39, 119, 0.6);
    }

    .ministry-image-wrapper h3 {
      position: absolute;
      inset: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--white);
      font-size: 1.5rem;
      font-weight: 700;
      z-index: 10;
      margin: 0;
    }

    .ministry-card p {
      color: var(--muted-foreground);
      padding: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Individual Ministry Sections */
    .individual-ministry-section {
      margin-top: -60px;
      padding: 4rem 1rem;
      background: var(--muted);
    }

    .individual-ministry-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      align-items: center;
      flex-direction: row;
    }

    .individual-ministry-grid.reverse {
      flex-direction: row-reverse;
    }

    .individual-ministry-grid.reverse>* {
      direction: ltr;
    }

    .text-content h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 1rem;
    }

    .text-content p {
      color: var(--muted-foreground);
      margin-bottom: 1.5rem;
    }

    .text-content .image-content {
      flex: 1 1 45%;
    }

    .text-content,
    .image-content {
      flex: 1 1 45%;
    }

    .ministry-label {
      display: inline-block;
      background: var(--black);
      color: var(--white);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      border-radius: 9999px;
      padding: 0.25rem 0.75rem;
      margin-bottom: 1rem;
    }

    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .info-grid h3 {
      font-weight: 600;
      color: #111827;
      margin-bottom: 0.25rem;
    }

    .info-grid p {
      color: var(--muted-foreground);
      margin-bottom: 0;
    }

    h3 {
      margin-bottom: 0.75rem;
      color: #111827;
      font-weight: 600;
    }

    .activity-list {
      list-style: none;
      margin-bottom: 2rem;
      padding-left: 0;
    }

    .activity-list li {
      margin-bottom: 0.5rem;
      color: var(--muted-foreground);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      position: relative;
      padding-left: 1.5rem;
    }

    .activity-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.7em;
      width: 0.5rem;
      height: 0.5rem;
      background-color: var(--accent-color);
      border-radius: 9999px;
    }

    /* Buttons group */
    .buttons-group {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .btn-primary {
      background-color: var(--black);
      color: var(--white);
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.4s ease-in-out;
    }

    .btn-primary:hover {
      background-color: var(--white);
      color: var(--black);
      border: 1px solid var(--black);
    }

    .btn-secondary {
      border: 1px solid var(--muted-foreground);
      color: var(--black);
      background: transparent;
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.4s ease-in-out;
    }

    .btn-secondary:hover {
      background-color: var(--black);
      color: var(--white);
    }

    /* Image content */
    .image-content img {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 0.5rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Additional Ministries Section */
    .additional-ministries {
      padding: 4rem 1rem;
      background: var(--muted);
    }

    .additional-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .additional-card {
      background: var(--white);
      padding: 2rem;
      border-radius: 0.5rem;
      box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .icon-circle {
      background: var(--muted);
      border-radius: 9999px;
      height: 64px;
      width: 64px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
    }

    .icon {
      height: 32px;
      width: 32px;
      color: var(--black);
    }

    .additional-card h3 {
      font-weight: 700;
      font-size: 1.25rem;
      color: #111827;
    }

    .additional-card p {
      color: var(--muted-foreground);
      font-size: 1rem;
    }

    .btn-outline {
      border: 1px solid #F0F0F0;
      color: var(--black);
      background: transparent;
      padding: 0.5rem 1rem;
      border-radius: 0.375rem;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s ease;
      max-width: 140px;
    }

    .btn-outline:hover {
      opacity: 0.7;
      scale: 1.1;
      border: 1px solid var(--black);
    }

    /* Call to Action Section */
    .cta-section {
      margin-top: -40px;
      background-color: var(--muted);
      padding: 4rem 1rem;
      text-align: center;
    }

    .cta-section {
      margin: -40px 80px 0 80px;
      background-color: var(--muted);
      padding: 2rem 1rem;
      text-align: center;
      border-radius: 12px;
    }

    .cta-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .cta-content h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .cta-content p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
    }

    .btn-large {
      padding: 1rem 3rem;
    }

    /* footer */
    footer {
      margin-top: 10px;
      background-color: var(--muted);
      padding: 40px 20px 20px 20px;
      color: #333;
      font-family: Inter, sans-serif;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-column h4 {
      margin-bottom: 15px;
      font-size: 1.2rem;
      color: var(--black);
    }

    .footer-column p,
    .footer-column a {
      margin-bottom: 8px;
      display: block;
      font-size: 0.9rem;
      color: #555;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-column a:hover {
      color: var(--accent-color);
    }

    .social-icons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }

    .social-icon {
      font-size: 24px;
      transition: transform 0.3s ease;
    }

    .social-icon:hover {
      transform: scale(1.2);
    }

    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 0.85rem;
      color: #555;
    }

    .highlight {
  animation: flash 2s ease;
}

@keyframes flash {
  0% { box-shadow: 0 0 10px 2px rgba(255, 200, 0, 0.8); }
  100% { box-shadow: none; }
}

    /* media queries */
    /* for the back video to maintain aspect ratio  */
    @media (min-aspect-ratio: 16/9) {
      .back-video {
        width: 100%;
        height: auto;
      }
    }

    @media (max-width: 700px) {
      .navbar {
        flex-direction: column;
        height: auto;
        padding: 16px;
      }
    }

    /* Stack buttons vertically on small screens */
    @media (max-width: 600px) {
      .welcome a {
        display: block;
        width: 70%;
        margin: 10px auto;
        padding: 10px 0;
        font-size: 18px;
      }

      .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .social-icons {
        justify-content: center;
      }

      .ministries-grid {
        grid-template-columns: 1fr;
      }

      /* Individual ministry sections stack vertically */
      .individual-ministry-grid,
      .individual-ministry-grid.reverse {
        flex-direction: column;
      }

      .text-content,
      .image-content {
        flex: 1 1 100%;
      }

      .image-content img {
        width: 100%;
        height: auto;
      }
    }

    @media (max-width: 768px) {
      .individual-ministry-grid,
      .individual-ministry-grid.reverse {
        flex-direction: column;
      }

      .text-content,
      .image-content {
        flex: 1 1 100%;
      }

      .image-content img {
        width: 100%;
        height: auto;
      }
    }

    /*  for very small screens */
    @media (max-width: 400px) {
      .welcome .button-group {
        flex-direction: column;
        gap: 10px;
      }

      .welcome .button-group a {
        width: 80%;
        margin: 0 auto;
      }
    }

    /* Small screens */
    @media (max-width: 900px) {
      .navbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      height: 70px;
      padding: 0 16px;
      background-color: var(--black);
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 15px;
    }

    .navbar-title {
      color: var(--white);
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-toggle {
      display: block;
      font-size: 28px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .navbar-toggle.open i {
      transform: rotate(90deg);
    }

    .navbar-center {
      display: flex;
      flex-direction: column;
      background-color: var(--black);
      position: absolute;
      top: 70px;
      width: 100%;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .navbar-center.active {
      max-height: 500px;
      opacity: 1;
    }

    .nav-links {
      position: static;
      flex-direction: column;
    }

    .nav-links li a {
      color: var(--white);
      padding: 12px 20px;
      display: block;
    }

    .nav-links li a:hover {
      color: transparent;
    }

    .fas,
    .far {
      color: var(--white);
    }

    .navbar-plan-btn {
      margin: 15px auto;
      width: 80%;
      background-color: var(--white);
      color: var(--black);
    }

    .navbar-center .nav-links li {
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .navbar-center.active .nav-links li {
      opacity: 1;
      transform: translateY(0);
    }

    .navbar-center.active .nav-links li:nth-child(1) {
      transition-delay: 0.05s;
    }

    .navbar-center.active .nav-links li:nth-child(2) {
      transition-delay: 0.1s;
    }

    .navbar-center.active .nav-links li:nth-child(3) {
      transition-delay: 0.15s;
    }

    .navbar-center.active .nav-links li:nth-child(4) {
      transition-delay: 0.2s;
    }

    .navbar-center.active .nav-links li:nth-child(5) {
      transition-delay: 0.25s;
    }

    .navbar-center.active .nav-links li:nth-child(6) {
      transition-delay: 0.30s;
    }

      /* Push welcome-section down when menu is open */
      .welcome-section.shift-down {
        margin-top: 500px;
        transition: margin-top 0.4s ease;
      }

      .welcome-section {
        transition: margin-top 0.4s ease;
      }

       .welcome h1 {
        /* background: linear-gradient(to right, var(--accent-color),purple, black);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent; */
        color: black;
      }

      .about-us-section {
        flex-direction: column;
        gap: 20px;
      }

      .about-card {
        flex: 1 1 100%;
      }

      .our-story-section {
        flex-direction: column;
        padding: 40px 20px;
      }

      .our-story-content,
      .our-story-image {
        flex: 1 1 100%;
        max-width: 100%;
      }

      .our-story-content p {
        text-align: left;
      }

      .leadership-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
      }

      .polaroid-container {
        flex-direction: column;
        align-items: center;
      }

      .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }

      .ministries-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

     @media (max-width: 950px){
     .navbar {
      flex-direction: row;
      justify-content: space-between;
      height: 70px;
      font-size: 13px;
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 10px;
    }

    .navbar-title {
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-plan-btn{
      padding: 8px;
      font-size: 13px;
    }
  }

  @media (max-width: 1100px){
     .navbar {
      flex-direction: row;
      justify-content: space-between;
      height: 70px;
      padding: 0 10px;
      font-size: 13px;
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 10px;
    }

    .navbar-title {
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-plan-btn{
      padding: 8px;
      font-size: 14px;
    }
  }

    /* Responsive for Ministries Overview cards */
    @media (max-width: 1200px) {
      .ministries-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .autoShow {
      animation: text-appear both;
      animation-timeline: view();
      animation-range: entry 20% cover 100vh;
    }

    @keyframes text-appear {
      0% {
        opacity: 0;
        transform: translateY(100px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
/* Flashing blue border when scrolled into view */
@keyframes flashBorder {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    border-color: transparent;
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(0, 123, 255, 0.6);
    border-color: var(--accent-color);
  }
}

.highlight {
  animation: flashBorder 0.5s ease-in-out 4;
  border: 1px solid var(--accent-color); 
  border-radius: 12px;
  transition: border 0.3s ease;
}