@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

 :root {
  --color-text: navy;
  --color-bg: rgb(255, 255, 255);
  --color-bg-accent: #ffffff;
  /* Hero focal point: change this to shift the crop (e.g. "center center", "center top", "30% 40%") */
  --hero-position: center center;
  --size: clamp(7.5rem, 14vw, 30rem);
  --gap: clamp(12px, 3vw, 40px);
  --duration: 60s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
  --section-padding: 40px 20px;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PT Serif', sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}



/* Navigation bar */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  height: 8vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  z-index: 10;
  opacity: 0;
  transform: translateY(-14px);
  will-change: transform, opacity;
  animation: nav-drop-fade .5s cubic-bezier(.2,.65,.3,1) .3s forwards;
}
/* Hamburger menu styles */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.navbar-toggle .bar {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  nav {
    z-index: 2500 !important; /* ensure navbar is above content */
  }
  .navbar-toggle {
    display: flex;
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 3000 !important; /* highest: hamburger icon */
  }
  nav .nav-links {
    position: fixed;
    top: 0;
    left: auto;
    right: 0; /* slide in from the right */
    width: 45vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
    transform: translateX(100%); /* off-screen to the right when closed */
    z-index: 2000 !important; /* ensure nav drawer is always above everything */
    box-shadow: 2px 0 12px rgba(0,0,0,0.18);
    overflow-y: auto;
  }
  nav .nav-links.open {
    transform: translateX(0); /* slide into view when open (from right) */
    z-index: 2000 !important;
  }
  .title-section {
    z-index: auto !important;
  }
  nav .nav-links ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  nav .nav-links ul li.has-dropdown {
    position: relative;
  }
  nav .nav-links ul li .dropdown {
    left: 0;
    right: auto;
    top: 100%;
    min-width: 160px;
    position: absolute;
    background: rgba(0,0,0,0.95);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s;
    z-index: 1001;
  }
  nav .nav-links ul li.has-dropdown:hover > .dropdown,
  nav .nav-links ul li.has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  nav .nav-links .social-icons {
    margin-top: 2rem;
    gap: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-left: 0;
  }
}

/* On narrow phones make the drawer full-screen so it doesn't leave a confusing half-overlay */
@media (max-width: 600px) {
  nav .nav-links {
    width: 100vw !important;
    left: auto !important;
    right: 0 !important;
    transform: translateX(100%) !important;
    padding: 2.5rem 1.5rem;
  }
  nav .nav-links.open {
    transform: translateX(0) !important;
  }
}

@keyframes nav-drop-fade {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  nav { opacity: 1; transform: none; animation: none !important; }
}

nav .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .logo-container .logo-text a {
    text-decoration: none;
    font-weight: 500;
    color: white; /* White text */
}

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav .nav-links .social-icons{
    display: flex;
    gap: 12px;
}

nav .nav-links .social-icons img {
    width: 20px;
    height: 20px;
}

nav .nav-links ul{
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav .nav-links ul li a {
    text-decoration: none;
    color: white; /* White text */
    font-weight: 500;
}

nav .nav-links ul li a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    border-radius: 2px;
    background: white; /* White underline */
    transition: all .3s ease;
}

nav .nav-links ul li a:hover::after {
    width: 100%;
}

nav .nav-links ul li {
    position:relative;
    transition: all .3s ease;
}

/* nav .nav-links ul li:hover {
    transform: translateY(-3px);
} */

nav .nav-links ul li > a {
     display:inline-block;
      transition: transform .2s ease; 
}


nav .nav-links ul li > a:hover { 
    transform: translateY(-3px); 
}


logo-text p {
    color: white;
    font-weight: 500;
}

/* Dropdown panel */
nav .dropdown {                   /* ADD */
  position: absolute;
  top: 100%;          /* just below the parent link */
  left: 0;
  min-width: 180px;
  background: rgba(0,0,0,0.6);    /* matches your translucent nav */
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);

  max-width: min(90vw, 720px);            /* never wider than viewport */
  display: flex;                          /* horizontal layout */
  flex-wrap: wrap;                        /* wrap to a new row if needed */
  gap: 8px;                               /* spacing between items */
  white-space: normal;                    /* allow wrapping */
  overflow: visible;

  opacity: 0;
  transform: translateY(6px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1000;                  /* above page content */
}

/* Hero image as an actual element so it's never cropped; it will scale to fit while preserving the full image */
.title-section .hero-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  /* Fill the hero area so there are no letterbox borders. This uses cover (may crop edges) */
  object-fit: cover;
  object-position: var(--hero-position, center center);
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  pointer-events: none; /* allow clicks to pass through */
  filter: none;
}

/* Gradient overlay on top of the image to preserve contrast for text */
.title-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25));
  z-index: 1;
  pointer-events: none;
}

/* Ensure reveal elements and text sit above the overlay */
.title-section .reveal,
.title-section h1,
.title-section h2 {
  position: relative;
  z-index: 2;
}

/* Show on hover (and keyboard focus) */
nav .has-dropdown:hover > .dropdown,
nav .has-dropdown:focus-within > .dropdown,
nav .has-dropdown.open > .dropdown {   /* ADD */
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown links */

nav .has-dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 10px;              /* extends the hover area under the link */
}


nav .dropdown a {                 /* ADD */
  display: block;
  padding: 10px 12px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}



nav .dropdown a:hover {           /* ADD */
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  transition: background .2s ease, transform .2s ease;
}


/* Title Section */

.title-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    padding-top: 8vh;
    padding-bottom: 0;
    color: white; /* White text */
    text-shadow: 2px 2px 4px #0000004d; /* Text shadow for better readability */
    text-align: center;
    padding: 0 1rem;
    overflow: hidden; /* keep hero image contained */
}


.title-section img.reveal {
  width: 150px;
  height: auto;
  margin-top: 0;
  margin-bottom: 1rem;
  position: static;
  top: auto;
  z-index: 2;
  left: auto;
}

@media (max-width: 600px) {
  .title-section {
    /* Increased height to show more of the group photo */
    min-height: 75vw !important;
    max-height: 95vw !important;
    height: 75vw !important;
    padding-top: 5vh !important;
    padding-bottom: 2vh !important;
    justify-content: flex-end !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 3rem !important;
  }
  .title-section img.reveal {
    display: block !important;
    width: 55px !important;
    margin-bottom: 0.3rem !important;
    margin-top: 0 !important;
  }
}
.title-section img.reveal {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.title-section h1 {
    font-size: 4rem;
    margin-bottom: 0rem;
    font-weight: 600;
}

.title-section h2{
    font-size: 2rem;
    font-weight: 400;
}

/* Responsive heading adjustments so text doesn't overlay centered faces
   - Shrink the type and push the headings down on narrower viewports
   - Tweak the `margin-top` values if you want the headings higher/lower */
@media (max-width: 900px) {
  .title-section h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    /* push down below the central area where faces are located */
    margin-top: 36vh;
    margin-bottom: 0.25rem;
  }
  .title-section h2 {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    margin-top: 0.4rem;
    line-height: 1.15;
  }
}

@media (max-width: 600px) {
  .title-section h1 {
    font-size: clamp(1.2rem, 7vw, 1.8rem);
    margin-top: 0 !important;
    margin-bottom: 0.3rem;
    background: rgba(0,0,0,0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
  }
  .title-section h2 {
    font-size: clamp(0.8rem, 4vw, 1.1rem);
    margin-top: 0;
    background: rgba(0,0,0,0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
  }
}

/* add rising effect for scrolling & loading in */

/* president section */

.president-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    padding: 60px 20px;
    background-color: white; /* Light gray background */
    min-height: 60vh;
    height: auto;
    gap: 3rem;
}


.president-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 60em;
}

.president-image{
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 40%; */
    
}

/* President image: Andrew Zalar */
#andrew-headshot {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.5);
  display: block;
}
.bold{
    font-weight: 600;
}

.president-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

@media (max-width: 768px) {
  .president-section {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 50px 16px;
  }
  .president-message {
    width: 100%;
    max-width: 65ch;
    align-items: center;
    text-align: center;
  }
  .president-image {
    width: 100%;
    justify-content: center;
  }
  #wyatt-headshot,
  #andrew-headshot {
    width: clamp(200px, 60vw, 320px);
    max-width: 90vw;
    min-width: 0;
    height: auto;
  }
  .president-message h2 {
    text-align: center;
  }
  .president-message p {
    text-align: center;
  }
}
@media (max-width: 768px) {
  /* Stack vertically on small screens */
  .president-section {
    flex-direction: column;       /* was: row */
    align-items: center;          /* keep centered */
    gap: 1.5rem;                  /* a bit tighter spacing on mobile */
    padding: 50px 16px;           /* slightly smaller padding */
  }

  /* Make text block full-width and readable */
  .president-message {
    width: 100%;                  /* was: 60em */
    max-width: 65ch;              /* keep nice line length */
    align-items: center;          /* center text horizontally */
    text-align: center;           /* center all text content */
  }

  /* Image appears below the text in natural order */
  .president-image {
    width: 100%;
    justify-content: center;
  }

  /* Tame the image size on small screens */
  #wyatt-headshot,
  #andrew-headshot {
    width: clamp(200px, 60vw, 320px);
    max-width: 90vw;
    min-width: 0;                 /* overrides the desktop min to avoid overflow */
    height: auto;
  }

  /* Center the title and paragraph text on mobile */
  .president-message h2 {
    text-align: center;
  }
  .president-message p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  #wyatt-headshot,
  #andrew-headshot { width: 70vw; }
  .president-message h2 { font-size: 1.75rem; }
}

/* pillars section */

.our-pillars-section {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("Web Images/fisher-picture.png");
  background-size: cover, cover;
  background-position: center, center;
  color: white;
  min-height: 50vh;
  height: auto;
}

.our-pillars-section::before {
  /* Remove gray overlay for clear image */
  display: none;
}



.our-pillars-section .pillars-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 20px;
}

.our-pillars-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.4);
}

.our-pillars-section .pillar {
    background-color: white; /* White background for pillars */
    padding: 20px 10px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: black;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.our-pillars-section .pillar:hover {
    transform: translateY(-5px);
    background: rgb(198, 198, 198);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.our-pillars-section p{
    font-weight: 500;
    text-align: center;
}

/* where you'll find pct */

.placements-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: white; /* Light gray background */
    color: black;
}

.placements-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}


.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
  /* background-color: blue; */
}

.marquee__group {
    /* background-color: red; */
    padding: 1rem 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

.marquee img {
  /* display: grid;
  place-items: center; */
  width: var(--size);

  /* fill: var(--color-text); */

  display:block;


  background: var(--color-bg-accent);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
  object-fit: contain;
  object-position: center center;
  padding: calc(var(--size) / 10);
  border-radius: 10px;
  margin: auto;
  vertical-align: middle;
}


@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* footer */

footer {
    background-color: #d6d6d5; /* Dark blue background */
    color: black; /* White text */
    padding: 1rem;
    text-align: center;
    min-height: 8vh;
}

footer img {
    mix-blend-mode: color-burn;
}




/* scroll bar */

/* WebKit browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}



/* Load in effects */

/* Load-in rise + fade */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity;
  animation: rise-fade-in .5s cubic-bezier(.2,.65,.3,1) .2s forwards;
}

@keyframes rise-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none !important; }
}



/* Rise + fade when element enters the viewport */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms),
    transform 600ms cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

/* Applied by JS when visible */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

