body{
  height: 100vh;
  width: auto;
  margin: 0 auto;
  overflow-x: hidden;
  font-family: "Century Gothic", "AppleGothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
  background: linear-gradient(to bottom, rgba(9, 9, 121, 0.7), rgba(0, 0, 0, 0.7)); /* Initial gradient */
  background-attachment: fixed; /* Keeps the gradient fixed while scrolling */
  transition: background 0.5s ease-out; /* Smooth transition for background change */
}

/* Overlay covering the whole screen */
.clapperboard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  animation: fadeOut 0.5s 1s forwards;
  pointer-events: none; /* Avoids blocking interaction */
}

/* Clapperboard container */
.clapperboard {
  position: relative;
  width: 300px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top part of the clapperboard */
.clapperboard-top {
  width: 100%;
  height: 50px;
  background-color: black;
  border: 2px solid white;
  transform-origin: left center; /* Correct hinge position */
  animation: clap 0.35s ease-in-out;
}

/* Stripes for the clapperboard top */
.clapperboard-stripes {
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    white 0,
    white 10px,
    black 10px,
    black 20px
  );
}

/* Bottom part of the clapperboard */
.clapperboard-bottom {
  width: 100%;
  height: 80px;
  background-color: black;
  border: 2px solid white;
  border-top: none;
}

/* Single clap animation */
@keyframes clap {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-60deg); /* Open angle */
  }
  100% {
    transform: rotate(0deg); /* Close */
  }
}

/* Fade-out animation for the overlay */
@keyframes fadeOut {
  from {
    opacity: 100%;
  }
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevent blocking */
  }
}

/* Hiding the default scrollbar */
.page-id-xx,
html {
    scrollbar-width: none; /* FF */
}
::-webkit-scrollbar {
    width: 0px; /* Chrome & Edge */
}

/* Style for sections with fade-in/out effect */
section {
  opacity: 0;
  /* transition: opacity 2s ease-out; */
}

section.visible {
  opacity: 100%;
}

/* Scroll indicator */
#scroll-indicator {
  position: fixed;
  right: 20px;
  top: 15%;
  width: 8px;
  height: 70%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  z-index: 400;
  pointer-events: none
}

#scroll-indicator .indicator {
  width: 100%;
  background: #00bcd4;
  border-radius: 5px;
  transition: height 0.3s ease;
}

/* Video Section */
.hero-section {
    /* position: relative; */
    text-align: center;
    color: white;
    /* height: calc(50vh); */
    overflow: hidden;
    background: rgb(25, 25, 25);
    box-shadow: 0 2px 3px 3px rgb(0, 0, 0);
} 
.hero-section video {
    width: 100vw;
    /* height: 100vh; */
    object-fit: fill;
    /* opacity: 0.6; */
    /* position: absolute; */
    top: 0;
    left: 0;
    z-index: 111;
}

/* Overlay for the text */
.overlay-aim {
  margin-top: 8rem;
  z-index: 1112;
}

.aim {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: 2px;
  color: rgb(255, 255, 255);
}

.underline {
  width: 30vw;
  height: 4px;
  background-color: rgb(76, 136, 183);
  margin: 10px auto;
}

.tagline {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:#fff;
}

.overlay-aim h2 {
  font-size: 7rem; /* Adjust font size as needed */
  margin: 0;
  padding: 0;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}

.content-container{
  position: relative; /* screen sizes 1070px or lower will need a smaller top value in mobile design */
  margin: 0 auto;
  background: linear-gradient(rgba(100, 99, 99, 0.6), rgb(100, 99, 99, 0.6)), url("../media/index/images/NYCBackground.jpg");
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* top:40%; */
  text-align: center;
  width:100%;
  height: auto;
  /* background: rgb(76, 136, 183); */
}

.content-container h2 {
  font-size: 3.75rem;
  color: white;
}

.logo-greeting {
  background: rgb(25, 25, 25);
  box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.6);
  padding: 5px;
}

.logo-greeting h3 {
  font-size: 1.75rem;
  color: white;
  margin-top: 0px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.greeting-logo {
  width: 12%;
}

.greeting-content{
  position: relative;
  /* background-color: #ffffff; */
  color: white;
  width: auto;
  padding-top: 20px;
  box-sizing: border-box;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  border-color: transparent;
}

.greeting-text p {
  margin: 0 auto;
  padding: 40px;
}

.greeting-text i{
  padding: 0;
}

.greeting-content::before{
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
  z-index: 1;
}

.description-content{
  /* margin-top:150px; */
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  /* border-radius: 15px 15px 15px 15px; */
}

.greeting-text{
  /* margin-left:150px; */
  font-size: 1.25em;
  z-index: 2;
  margin: 10px 10px;
  padding: 120px;
}

.greeting-portraits {
  display: flex;
  justify-content: space-around; /* Space out the portraits evenly */
  align-items: center; /* Align portraits vertically in the middle */
  padding-bottom: 30px;
}

.portrait {
  text-align: center; /* Center the text under each portrait */
  border: 2px solid transparent; /* Add border with desired color */
  border-radius: 10px;
  border-color: transparent;
  padding: 10px;
}

.portrait img {
  border-radius: 50%; /* Make the portrait image round */
  object-fit: cover; /* Ensure the image covers the area without distortion */
  margin-bottom: 10px; /* Add space between the image and the title */
}

.portrait h2 {
  font-size: 16px; /* Set the font size for the titles */
  margin: 0; /* Remove default margin */
}

.aim-connections{
  display:flex;
  /* background: rgb(76, 136, 183,0.7); */
  border-color: #020035;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  align-items: center;
}

.aim-connections h2 {
  font-size: 3.75rem;
}

.aim-connections h3 {
  font-size: 2.5rem;
  color: white;
  margin-top: 0px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

h2 {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
  background-color: white; /* For areas around the video */
}

.carousel-section {
  margin-top: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.carousel-section h2 {
  font-size: 3.75rem;
  color: white;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  z-index: 0;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 1500px;
  padding: 2em;
  gap: 2rem;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.carousel-slide {
  position: relative;
  flex: 0 0 75%;
  max-width: 75%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: center;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 70%);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  user-select: none;
  pointer-events: none;
  border-radius: inherit;
}

.ghost {
  flex: 0 0 12.5%;
  opacity: 0;
  height: 1px;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 10;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  /* transition: background 0.3s ease; */
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev {
  left: 2rem;
}

.carousel-btn.next {
  right: 2rem;
}

.btn {
  background-color: #44408b;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1em;
  font-weight: 20px;
  border-radius: 5px;
  /* transition: all 0.3s ease-in-out; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color:#8584a7;
  color: lightgrey;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
  /* position: relative; */
  text-decoration: none;
  color: black;
}

a svg {
  opacity: 0;
  transform: translateX(-20px);
  /* transition: opacity 0.3s ease, transform 0.3s ease; */
}

a:hover svg {
  opacity: 1;
  transform: translateX(5px);
}

:root {
  --marquee-width: 100%;
  --marquee-height: 10vh;
  --marquee-elements: 22; /* defined with JavaScript */
  --marquee-elements-displayed:12;
  --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
  --min-element-width: 120px;
  --max-element-width: 175px;
}

.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  background: rgba(41, 41, 41, 0.7);
  overflow: hidden;
  position: relative;
  align-items: center;
  z-index: -1;
  padding: 50px 0px;
}

.marquee:before, .marquee:after {
  position: absolute;
  top: 0;
  width: 101%;
  height: 101%;
  content: "";
  z-index: 2;
}
.marquee li {
  margin-bottom: 40px;
  margin-left: 10px;
}

.marquee img {
  height: 100px;
  width: 120px;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.4); /* faint translucent card */
  border-radius: 12px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.15), /* soft base shadow */
    0 8px 20px rgba(0, 0, 0, 0.08); /* gentle spread for depth */
  backdrop-filter: blur(4px); /* glassy effect for blending */
}

/* .marquee:before {
  left: 0;
  background: linear-gradient(to right, rgba(100, 99, 99, 0.3), transparent 5%);
}
.marquee:after {
  right: 0;
  background: linear-gradient(to left, rgba(100, 99, 99, 0.3), transparent 5%);
} */
.marquee-content {
  list-style: none;
  height: 100%;
  display: flex;
  animation: scrolling var(--marquee-animation-duration) linear infinite;
  will-change: transform;
}
/* .marquee-content:hover {
  animation-play-state: paused;
} */
@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
}
.marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--marquee-element-width);
  max-height: 100%;
  font-size: calc(var(--marquee-height)*3/4); /* 5rem; */
  white-space: nowrap;
  min-width: var(--min-element-width);
  max-width: var(--max-element-width);
}

.marquee-content li img {
  object-fit: contain; /* keeps the aspect ratio */
  padding: 8px;
}

i{
  padding:30px;
}

.closing-container {
  position: relative;
  background: radial-gradient(rgba(0, 0, 0, 0.8), rgba(19, 19, 176, 0.8));
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin: 50px 10px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.closing-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #fff;
}

.closing-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.closing-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.button-link {
  background-color: #44408b;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  /* transition: all 0.3s ease-in-out; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-link:hover {
  background-color:#8584a7;
  color: lightgrey;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
}

.video-modal video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.video-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}


/* ───────────── TABLET (≤ 1024px) ───────────── */
@media (max-width: 1024px) {
  .aim {
    font-size: 3rem;
  }

  .carousel-slide {
    max-width: 85%;
    margin: 0 1rem;
  }

  .greeting-portraits {
    flex-wrap: wrap;
    gap: 20px;
  }

  .greeting-text p {
    padding: 20px;
  }
}

/* ───────────── MOBILE (≤ 768px) ───────────── */
@media (max-width: 768px) {
  .aim {
    font-size: 2.5rem;
  }

  .underline {
    width: 75%;
  }

  .tagline {
    font-size: 1rem;
  }

  .overlay-aim {
    bottom: 100px;
    height: 70%;
    padding: 0 10px;
  }

  .aim-connections h2 {
    font-size: 2em;
  }

  .btn {
    font-size: 0.8em;
  }

  .greeting-content {
    font-size: 1.1em;
  }

  .greeting-text {
    font-size: 1em;
    margin: 15px 10px;
    padding: 10px;
  }

  .greeting-portraits {
    flex-direction: column;
    padding-bottom: 20px;
  }

  .portrait img {
    width: 120px;
    height: 120px;
  }

  .carousel-container {
    padding: 1rem;
  }

  .carousel-section h2 {
    font-size: 2.5rem;
  }

  .carousel-slide {
    flex: 0 0 90%;
    max-width: 90%;
    margin: 0 0.5rem;
  }

  .overlay h2 {
    font-size: 1.5rem;
    opacity: 1;
    pointer-events: auto;
    padding: 0.5rem;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }

  .content-container {
    background-attachment: scroll; /* Fix for iOS Safari */
  }

  #scroll-indicator {
    display: none;
  }

  .marquee {
    top: 0;
    bottom: 0;
    --marquee-elements-displayed: 5;
    --marquee-elements: 21;
    --marquee-animation-duration: calc(var(--marquee-elements) * 1.3s);
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  }
}

/* ───────────── SMALL DEVICES (≤ 480px) ───────────── */
@media (max-width: 480px) {
  .aim {
    font-size: 2rem;
  }

  .hero-section {
    height: calc(25vh + 70px);
  }

  .tagline {
    font-size: 0.9rem;
  }

  .greeting-content {
    font-size: 1em;
  }

  .greeting-text {
    font-size: 0.95em;
  }

  .portrait img {
    width: 100px;
    height: 100px;
  }

  .carousel-slide {
    flex: 0 0 95%;
    max-width: 95%;
    margin: 0;
  }

  .carousel-btn {
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .overlay-aim h2 {
    font-size: 2rem;
  }

  .carousel-section h2 {
    font-size: 1.75rem;
  }

  .content-container h2 {
    font-size: 1.5rem;
  }

  .content-container h3 {
    font-size: 1.1rem;
  }

  .closing-content h2 {
    font-size: 1.5rem;
  }

  .closing-content p {
    font-size: 1rem;
  }

  .button-link {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .marquee-content li {
    font-size: 1rem;
    max-width: 100px;
    padding: 0px 5px 0px 5px;
  }

  .greeting-logo {
    width: 30%;
  }

  .video-modal-content {
    width: 100%;
    padding: 10px;
  }
}
