:root{

/* Color palette */
--primary-blue:#032f68;
--primary-red:#8B1E1E;
--light-gray:#f5f5f5;
--text-dark:#2B2B2B;
--white:#ffffff;

/* Typography scale using clamp()
Clamp allows text to grow between a minimum and maximum size depending on
screen width. This improves readability across mobile, tablet, and desktop.
*/

--fs-small:clamp(0.9rem,1vw,1rem);
--fs-body:clamp(1rem,1.5vw,1.2rem);
--fs-subheading:clamp(1.4rem,3vw,2rem);
--fs-heading:clamp(2rem,5vw,3.5rem);

/* Spacing scale */
--space-sm:1rem;
--space-md:2rem;
--space-lg:4rem;

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

html {
  scroll-behavior: smooth;
}

/* -- Body -- */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: white;
    color: #2B2B2B;
}

p {font-family: 'Inter', sans-serif;}

h1 {
    font-size: var(--fs-heading);
    font-family: 'Inter', sans-serif;
}

h2 {
    font-size: var(--fs-subheading);
    font-family: 'Montserrat', sans-serif;
    color: #03306a;
}

/* -- NAVIGATION LAYOUT
Flexbox is used to align the logo and navigation links horizontally. 
This allows it to adapt to different screen sizes.
-- */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #03306a;
    line-height: 1.6rem;
}

/* -- NAVIGATION -- */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: #8B1E1E;
    font-weight: 800;
    font-size: 1.1rem;
}

.menu-toggle {
    display: block;
    font-size: 2rem;
    color: var(--primary-red);
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: #03306a;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-nav.open {
    right: 0;
    box-shadow: 2px 5px 10px 7px rgba(9, 9, 13, 0.7);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f1f1;
    text-shadow: 1px 2px 1px black;
}

.mobile-nav a:hover {
    color: #d62d2d;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

.close-menu:hover {
    opacity: 0.7;
}

a:hover {
    color: #03306a;
;
}

/* -- Hero -- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-darken {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.hero-overlay h1 {
    color: #f1f1f1;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
    margin-top: 1rem;
    max-width: 700px;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(241, 241, 241, 0.9);
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.07em;
}

.btn.primary {
  background-color: #8B1E1E;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #d62d2d;
  transform: translateY(-2px);
}

.btn.secondary {
  background-color: transparent;
  color: #f1f1f1;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn.secondary:hover {
  background-color: rgba(24, 24, 162, 0.3);
  transform: translateY(-2px);
}

/* ---------------- LOAD ANIMATION ---------------- */
@keyframes loadIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.load-in {
    opacity: 0;
    animation: loadIn 2s ease forwards;
}

.load-in-delay {
    opacity: 0;
    animation: loadIn 2s ease forwards;
    animation-delay: 0.6s;
}

/* -- Cards --*/
#highlights {
    padding: 10rem 3rem;
    text-align: center;
    background: #f5f5f5;
}

.cards {
    display: grid;
    grid-template-columns:1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    padding: 3rem 3rem;
    border-radius: 12px;
    background: #ffffff;
}

.card h3 i {
    font-size: 2.2rem;
    margin-right: 0.6rem;
    vertical-align: middle;
}
.card h3 {
    margin: 0.8rem 0 0.5rem;
}

.card p {
    margin: 0;
    line-height: 1.5;
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #2b2b2b;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.faith-bridge p {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 3rem;
}
/*-- Stats -- */
.stats-section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.impact-quote {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
}
.stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align:center;
    align-items: center;
    padding-bottom: 6rem;
    margin-bottom: 4rem;
}

.stats-row.reversed {
    direction: ltr;
}

.stat-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.stats-text {
    font-size: xx-large;
    font-weight: 800;
    color: #8B1E1E;
}

.stats-text h3 i {
    font-size: 6rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.stats-text span {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2b2b2b;
  margin-top: 0.5rem;
  line-height: 1.5;
}
/* AI Assistance Citation
Tool: ChatGPT
Date: January 28, 2026
Where used: Stats section styling (Z-pattern layout and image placeholders)
What AI did: Suggested CSS Grid layout and row reversal technique to create a Z-pattern design.
What I did: Implemented the styles, adjusted spacing and sizing, and tested responsiveness across screen sizes.
Prompt summary: Asked how to space and reverse my text and images to create a z pattern based on my homepage mockup.
*/

.btn.explore{
  background-color: #8B1E1E;
  color: #ffffff;
  margin-top: 1rem;
}

.btn.explore:hover {
  background-color: #d62d2d;
  transform: translateY(-2px);
}

.stats-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#highlights,
.stats-section {
  scroll-margin-top: 120px;
}
/* -- Scroll Images -- */
.scroll-wrapper {
  overflow: hidden;
  width: 100%;
  margin-bottom: 2.5rem;
}

.scroll-container {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: auto-scroll 35s linear infinite;
}

.scroll-container img {
  width: 320px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 1rem;
}

@keyframes auto-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* AI Assistance Citation
Tool: ChatGPT
Date: February 3, 2026
Where used: Scroll image gallery
What AI did: Provided CSS to control desktop image sizing while maintaining a 4:3 aspect ratio, prevent cropping or distortion using object-fit: contain, and ensure responsive scaling on mobile devices through viewport-based sizing and media queries.
What I did: Implemented the recommended styles, adjusted image dimensions to fit my design, and tested responsiveness across desktop and mobile screen sizes to ensure images displayed consistently without cropping.
Prompt summary: Asked how to prevent scroll-section images from appearing too large on desktop while keeping them responsive on mobile without image distortion.
*/
/* Image Gallery */
.scroll-container img{
  flex: 0 0 auto;
  width: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  display: block;
}
/* ----------------    ABOUT PAGE    --------------- */

/* -- About Hero -- */
.about-hero {
    position:relative;
    overflow:hidden;
    background-color: #03306a;
    color: #ffffff;
    text-align: center;
    padding:clamp(4rem,8vw,7rem) 2rem;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.about-hero p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-top: 1rem;
    opacity: 0.9;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity:.08;
    z-index:0;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: var(--light-gray);
    top: -120px;
    left: -120px;
}

.shape2 {
    width:250px;
    height:250px;
    background:#D4A373;
    bottom:-100px;
    right:-100px;
}

/* -- Intro Section -- */
.about-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem;
  text-align: center;
}

.about-intro .eyebrow {
  display: block;
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.about-intro h2 {
  margin-bottom: 1rem;
}

.about-intro p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-dark);
}

/* -- About Mission Section -- */
.about-mission {
  padding: 5rem 2rem;
  background:
    linear-gradient(rgba(3, 47, 104, 0.8), rgba(3, 47, 104, 0.8)),
    url("../images/group_pic.png") center/cover;
}

.mission-card {
  max-width: 750px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.mission-card .eyebrow {
  display: block;
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.mission-card h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-blue);
}

.mission-card p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: var(--fs-body);
  line-height: 1.6;
}

.mission-pill-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.mission-pill-row span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--primary-red);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

/* 
TEAM GRID 
CSS Grid is used to create a responsive layout for my team cards.
On mobile they stack vertically, but horizontally on larger screen.
*/

.team-section {
  max-width: 1500px;
  margin: 0 auto;
}

.team-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #dddddd, #ffffff);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.team-section::before {
  content: "Meet the people guiding the mission forward.";
  display: block;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: var(--text-dark);
  font-size: var(--fs-body);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  perspective: 1000px;
  min-height: 420px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.team-card:hover .card-inner,
.team-card:focus-within .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card-front img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* NAME OVERLAY */

.card-info {
  padding: 1.25rem;
  background: var(--primary-red);
  color: white;
}

.card-info h3 {
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}

.card-info p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* CARD BACK */
.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #032f68, #061b3a);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.role-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-back h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-back p {
  line-height: 1.6;
  opacity: 0.95;
}

.card-back ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.card-back li {
  margin-bottom: 0.4rem;
}


/* -- About Story Grid --*/
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 2rem;
}

.story-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition:transform .4s ease;
}

.story-image img:hover{
    transform:scale(1.04);
}

.story-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.story-text p {
    font-size: clamp(.95rem, 1.2vw, 1.8rem);
    margin-bottom: 1rem;
}



/* -- About Video -- */
.about-video {
    text-align: center;
    padding: 5rem 2rem;
}

.video-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.pull-quote {
    background:#f6f6f6;
    padding:clamp(3rem,6vw,5rem) 2rem;
    text-align: center;
    text-transform: uppercase;
}

.pull-quote blockquote {
    font-size:clamp(1.6rem,3vw,2.3rem);
    font-weight:700;
    color:#8B1E1E;
    max-width:800px;
    margin:auto;
    line-height:1.4;
}

.about-mission {
  position: relative;
}

.about-story {
  position: relative;
  padding: 6rem 2rem;
  background: white;
  overflow: hidden;
}

.about-story::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 300px;
  background: #03306a; /* your deep blue */
  bottom: -120px;
  left: -10%;
  transform: rotate(-5deg);
  opacity: 0.05;
  z-index: 0;
}

.about-story > * {
  position: relative;
  z-index: 1;
}

.about-cta {
    text-align: center;
    padding:clamp(3rem,6vw,5rem) 2rem;
    background-color: #F5F5F5;
}

.about-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.inspo {
    font-size: large;
    margin: 3%;
    text-align: center;
}

.inspo h3 {
    font-family: 'Inter', sans-serif;
    font-size: xx-large;
}

.inspo a {
    text-decoration: none;
    color: var(--primary-red);
    font-family: 'Inter', sans-serif;
    font-weight: 200;
}

.inspo a:hover {
    text-decoration: none;
    color: var(--primary-blue);
}

/* ----------------- RESOURCES PAGE ----------------- */

.resources-section {
    padding: var(--space-lg) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.resources-section h2 {
    color: var(--primary-blue);
    text-align: center;
    padding-bottom: var(--space-md);
}
.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    font-size: var(--fs-body);
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.resource-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.4s; }
.resource-card:nth-child(4) { animation-delay: 0.6s; }

/* ICON STYLE */
.resource-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* hidden content */
.more-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  margin-top: 0.5rem;
}

/* ACTIVE (clicked) state */
.resource-card.active .more-info {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

/* optional visual feedback */
.resource-card.active {
  border-left: 5px solid var(--primary-red);
  background: #ffffff;
}

.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.4s; }
.resource-card:nth-child(4) { animation-delay: 0.6s; }

/* ICON STYLE */
.resource-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* hidden content */
.more-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  margin-top: 0.5rem;
}

/* ACTIVE (clicked) state */
.resource-card.active .more-info {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

/* optional visual feedback */
.resource-card.active {
  border-left: 5px solid var(--primary-red);
  background: #ffffff;
}


.resource-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.resource-card p {
    font-size: var(--fs-body);
}

.resource-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.resource-card li {
    margin-bottom: 0.5rem;
}

.resources-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

/* TEXT SIDE */
.resources-text {
  flex: 1;
  min-width: 280px;
}

.resources-text h2 {
  font-size: 2.2rem;
  color: #03306a;
  margin-bottom: 1rem;
}

.resources-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.resources-btn {
  display: inline-block;
  background: #03306a;
  color: white;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.resources-btn:hover {
  background: #0550b3;
}

/* IMAGE SIDE */
.resources-image {
  flex: 1;
  min-width: 280px;
  margin-top: var(--space-lg);
}

.resources-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Crisis Section */
.crisis-section {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--light-gray);
    margin-top: var(--space-lg);
}

.crisis-section h2 {
    color: var(--primary-blue);
}

.crisis-section p {
    margin-top: 1rem;
}

.crisis-section ul {
    margin-top: 1.5rem;
    list-style: none;
}

.crisis-section li {
    margin-bottom: 0.8rem;
    font-size: var(--fs-body);
}
.resources-image {
  flex: 1;
  min-width: 280px;
  margin-top: var(--space-lg);
}

.resources-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Crisis Section */
.crisis-section {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--light-gray);
    margin-top: var(--space-lg);
}

.crisis-section h2 {
    color: var(--primary-blue);
}

.crisis-section p {
    margin-top: 1rem;
}

.crisis-section ul {
    margin-top: 1.5rem;
    list-style: none;
}

.crisis-section li {
    margin-bottom: 0.8rem;
    font-size: var(--fs-body);
}

/* CTA section */
.resources-cta {
    text-align: center;
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--space-lg) var(--space-md);
}

.resources-cta h2 {
    color: var(--white);
}

.resources-cta p {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.resources-cta .btn {
    margin-top: 1.5rem;
}

/* ------------      Gallery Page      ------------*/
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

/* IMAGE CARD */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

/* OVERLAY */
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  width: 100%;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

/* HOVER + KEYBOARD FOCUS */
.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.1);
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  transform: translateY(0);
}

/* FILTER BUTTONS */
.filters button {
  margin: 1.5rem 0.2rem 1rem 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background-color: var(--light-gray);
  color: var(--text-dark);
  font-size: clamp(1rem,1vw,1.2rem);
}

.filters button:hover {
  background: var(--primary-blue);
  color: var(--light-gray);
  transform: translateY(-2px);
  transition: transform 0.6s ease;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1001;
}

/* -----------        Media Page        ----------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal p, h2 {
    color: var(--primary-blue);
}

/* ----------- Z PATTERN ----------- */
.z-section {
  padding: 5rem 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.z-text {
  background: var(--white);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.z-text h2 {
  margin: 0.8rem 0;
}

/* ----------- TYPEWRITER ----------- */
/* Typewriter animation: Encourages users to slow down and focus on the content.*/
.typewriter {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Fake cursor */
.typewriter::after {
  content: "|";
  margin-left: 5px;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* ----------- FLOATING ICON CARD ----------- */
.z-visual {
  min-height: 260px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  display: grid;
  place-items: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Floating wrapper */
.float-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Floating card: Adds subtle motion */
.float-obj {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f5f5f5);
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.35);
  animation: levitate 3.5s ease-in-out infinite;
  display: grid;
  place-items: center;
}

/* Icon */
.float-obj i {
  font-size: 2.7rem;
  color: var(--primary-blue);
}

/* Shadow */
.float-wrap::after {
  content: '';
  width: 70px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
  animation: shadowPulse 3.5s ease-in-out infinite;
}

/* Animation */
@keyframes levitate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

@keyframes shadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: .7;
  }
  50% {
    transform: scale(.6);
    opacity: .35;
  }
}

/* ----------- MEDIA CENTER ----------- */
.media-center {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #f5f5f5, #ffffff);
  text-align: center;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 2rem;
}

.media-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.media-tab {
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--primary-blue);
  background: var(--white);
  color: var(--primary-blue);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.media-tab:hover,
.media-tab:focus,
.media-tab.active {
  background: var(--primary-blue);
  color: var(--white);
  outline: 3px solid rgba(3, 47, 104, 0.25);
}

.media-panel {
  display: none;
  max-width: 850px;
  margin: auto;
}

.media-panel.active {
  display: block;
}

.transcript-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.audio-section { 
    padding: 4rem 2rem; 
    text-align: center; 
    color: var(--light-gray); 
} 
.audio-card { 
    max-width: 500px; 
    margin: 2rem auto; 
    padding: 2rem; 
    border-radius: 16px; 
    background: var(--white); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);    
}

/* Keeps 1920x1080 video from cropping inside the Media Center */
.media-panel .video-wrapper {
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.media-panel .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

/* ----------- FINAL SECTION ----------- */
.final-media-section {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--primary-blue);
  color: var(--light-gray);
}

.final-media-section h2 {
  color: var(--light-gray);
}

.final-media-section p {
  max-width: 600px;
  margin: 1rem auto;
  color: var(--light-gray);
  margin-bottom: 3rem;
}


/* ----------- ACCESSIBILITY ----------- */
button:focus {
  outline: 3px solid #ffffff;
}

video, audio {
  width: 100%;
  max-width: 100%;
}

/* ----------- REDUCED MOTION ----------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
  }

  .float-obj,
  .float-wrap::after {
    animation: none;
  }

  .reveal {
    transform: none !important;
    opacity: 1 !important;
  }

  .typewriter::after {
    animation: none;
  }
}

/* ---------------   Contact Page   ---------------- */
.contact-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contact-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.contact-heading p {
  margin-top: 1rem;
  font-size: var(--fs-body);
}

.contact-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.faq,
.contact-form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.faq h2,
.contact-form-card h2 {
  margin-bottom: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid #eeeeee;
}

.faq-q {
  width: 100%;
  padding: 1rem 0;
  border: none;
  background: transparent;
  color: var(--primary-blue);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  color: var(--primary-red);
  font-weight: 800;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding-bottom: 1rem;
  color: var(--text-dark);
}

.faq-item.open .faq-a {
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #dddddd;
  border-radius: 0.75rem;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.faq-q:focus,
.btn:focus {
  outline: 3px solid rgba(139, 30, 30, 0.3);
  border-color: var(--primary-red);
}

.error-message,
.form-status {
  color: #b00020;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.character-counter {
  font-size: 0.85rem;
  margin-top: 0.35rem;
  color: #555;
}

/* INPUT ERROR STATE */
/* This highlights fields that do not pass JavaScript validation. */
.input-error {
  border-color: var(--primary-red) !important;
  background: #fff8f8;
}

.contact-form-card .btn.primary {
  width: 100%;
  margin-top: 0.5rem;
}

/* SUCCESS CARD */
/* This card appears when the form is submitted successfully through Formspree. */
.success-card {
  margin-top: 2rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-radius: 1.25rem;
  border: 1px solid #eeeeee;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  animation: successPop 0.5s ease forwards;
}

.success-card i {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.success-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-card p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.6;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ACCESSIBLE FOCUS STATES
These styles make keyboard focus visible when users tab through links,
buttons, form fields, gallery filters, media tabs, and resource cards.
*/
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.gallery-item:focus-visible,
.resource-card:focus-visible,
.media-tab:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 4px;
}

/* -------   Footer   ------- */
footer {
  background: var(--primary-red);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

footer h4 {
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
}

footer p,
footer a {
  font-size: 0.95rem;
  line-height: 1.7;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

footer a:hover {
  color: #f5d7d7;
}

footer i {
  margin-right: 0.5rem;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #f5f5f5;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  font-size: 0.8rem;
  color: #f1f1f1;
}

.social-icons a:hover {
  color: #f5f5f5;
  transform: translateY(-3px);
}

/* AI Assistance Citation
Tool: ChatGPT
Date: February 2, 2026
Where used: Footer layout
What AI did: Provided a responsive grid-based footer layout based on my wireframe design.
What I did: Applied the styles to my project, refined colors and spacing, and ensured consistency with the rest of the site.
Prompt summary: Asked how to style a footer to match my homepage mockup.
*/

/* -- Animation -- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* AI Assistance Citation
Tool: ChatGPT
Date: February 3, 2026
Where used: Scroll animation styling (fade-in effects)
What AI did: Provided CSS styles for fade-in animations using opacity, transform, and transitions to animate content as it appears on screen.
What I did: Applied the animation classes to selected sections and adjusted timing to match my site’s design.
Prompt summary: Asked how to add fade-in animations when content scrolls into view.
*/

/* -- TABLET RESPONSIVE
When the screen is wider than 720px it changes the layout into 2 columns
-- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .load-in,
  .load-in-delay {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

@media (min-width: 720px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: #8B1E1E;
    cursor: pointer;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .footer-column1 {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .cards {
  grid-template-columns:repeat(2,1fr);
  }

    .stat-layout {
      grid-template-columns: 1fr;
    }
    .stats-row {
      grid-template-columns:1fr 1fr;
      text-align:left;
      gap: 2rem;
    }
    .stat-img {
      height: auto;
        max-height: 260px;
      object-fit: cover;
    }

    /* AI Assistance Citation
    Tool: ChatGPT
    Date: February 3, 2026
    Where used: Image Gallery
    What AI did: Provided CSS styles for fade-in animations using opacity, transform, and transitions to animate content as it appears on screen.
    What I did: Applied the animation classes to selected sections and adjusted timing to match my site’s design.
    Prompt summary: Asked how to add fade-in animations when content scrolls into view.
    */
    .scroll-container img{
        width: min(420px, 80vw);
    }

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

    .about-hero{
        padding:4rem 1.5rem;
    }

    .team-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .director {
      grid-column: span 2;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    }

  .contact-wrap {
    padding: 5rem 2rem;
  }

}

@media (max-width: 768px) {
  .resources-split {
    flex-direction: column;
  }

  .resources-image img {
    height: 250px;
  }

}

/* -- DESKTOP RESPONSIVE
When the screen is larger than 980px the grid expands to 3 columns.
-- */

@media (min-width:980px){

    .desktop-nav{
        display:block;
    }

    .menu-toggle{
        display:none;
    }

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

    .cards{
        grid-template-columns:repeat(3,1fr);
    }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

    .director,
    .coordinator,
    .mentor {
      grid-column: auto;
      grid-row: auto;
    }

    .resources-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

      .media-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 7rem 4rem;
  }

  .z-section {
    grid-template-columns: 1fr 1fr;
  }

  .z-section.reverse .z-text {
    order: 2;
  }

  .z-section.reverse .z-visual {
    order: 1;
  }

  .desktop-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .contact-two-col {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }  
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
