/* ------------------------------------------
   Hero Section
------------------------------------------ */
.hero-section {
  background-image: url('/public/fellowship-page/webp/fellowship-banner.webp');
  background-size: cover;
  background-position: center;
  height: 110vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
  z-index: -2;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 5rem;
  margin: 0;
}

.hero-title {
  font-size: 10.5rem;
  line-height: 7.5rem;
  color: white;
  font-family: var(--font-secondary);
  font-weight: 800;
  margin: 0 0 0.5rem 8rem;
  transform: translateY(0rem);
}

.hero-title::before {
  content: '';
  position: absolute;
  width: 60rem;
  height: 58rem;
  background-color: #9C3236;
  opacity: 0.65;
  border-top-left-radius: 3.125rem;
  border-top-right-radius: 3.125rem;
  top: -2rem;
  left: -2rem;
  z-index: -1;
}

.hero-description {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 150%;
  letter-spacing: 0%;
  color: white;
  margin: 0 0 6rem 8rem;
  max-width: 50rem;
  transform: translateY(2rem);
}

.hero-p-large{
  font-size: 2.5rem;
}
/* ------------------------------------------
   Introduction Section
------------------------------------------ */
.introduction-section {
  position: relative;
  margin: -16rem auto 6rem;
  width: 80%;
  max-width: 120rem;
  background-color: #9C3236;
  padding: 2rem;
  border-radius: 5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  line-height: 2rem;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-md);
}

.intro-title {
  font-size: 2.8rem;
  font-family: var(--font-primary);
  font-weight: 400;
  color: white;
  margin: 0;
  line-height: 1.3;
  text-align: left;
}

.intro-text p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  color: white;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------
   Who Section
------------------------------------------ */
.who-section {
  margin: 0;
  width: 100%;
  padding: 8rem var(--spacer-lg);
  position: relative;
}

.who-content {
  display: flex;
  gap: 6rem;
  align-items: flex-start;
  padding: var(--spacer-md);
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  border-top: 1px solid #C32921;
  border-bottom: 1px solid #C32921;
}

.who-content::before,
.who-content::after {
  content: '';
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  height: 1px;
  background-color: #C32921;
  z-index: 1;
}

.who-content::before {
  top: -1px;
}

.who-content::after {
  bottom: -1px;
}

/* Vertical divider line */
.vertical-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 1px;
  height: 100%;
  background-color: #C32921;
  z-index: 2;
}

.who-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
}

.who-image img {
  width: 30rem; /* Fixed width for vertical container */
  height: 40rem; /* Fixed height to create vertical aspect ratio (3:4) */
  max-width: 30rem;
  object-fit: cover; /* Crop horizontal image to fit vertical container */
  object-position: center; /* Center the cropped area */
  
}

.who-text {
  flex: 2;
  padding: 4rem 3rem;
}

.who-text p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #252422;
  margin-bottom: var(--spacer-md);
}

.who-text h3 {
  font-size: 2.6rem;
  font-family: var(--font-primary);
  font-weight: 700;
  color: #C32921;
  margin-top: var(--spacer-md);
  line-height: 4rem;
}

/* ------------------------------------------
   Approach Section
------------------------------------------ */
.approach-section {
  margin: var(--spacer-xl) 0;
  padding: 8rem var(--spacer-lg);
  background-color: #CAD8DB;
}

.approach-content {
  max-width: 100rem;
  margin: 0 auto;
  padding: var(--spacer-md);
}

.approach-subtitle {
  font-size: 2.4rem;
  font-family: var(--font-primary);
  font-weight: 600;
  color: #C74A9B;
  margin-bottom: var(--spacer-lg);
  line-height: 1.3;
}

.approach-points {
  margin-top: var(--spacer-lg);
}

.approach-list {
  list-style: none;
  padding-left: 5rem;
  display: flex;
  flex-direction: column;
  gap: var(--spacer-md);
}

.approach-item {
  position: relative;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.approach-item:hover {
  transform: translateY(-2px);
}

.approach-item::before {
  content: '';
  position: absolute;
  left: -2%;
  top: 50%;
  transform: translateY(-72%);
  width: 1.2rem;
  height: 1.2rem;
  background-color: #436E55;
  border-radius: 50%;
}

.approach-item p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #252422;
  margin: 0;
}

/* ------------------------------------------
   Testimonials Section
------------------------------------------ */
.testimonials-section {
  margin: var(--spacer-xl) 0;
  padding: 8rem var(--spacer-lg);
}

.testimonials-content {
  max-width: 100rem;
  margin: 0 auto;
  padding: var(--spacer-md);
}

.testimonials-intro {
  margin-bottom: var(--spacer-lg);
}

.testimonials-subtitle {
  font-size: 2.5rem;
  font-family: var(--font-primary);
  color: #C32921;
  margin-bottom: var(--spacer-sm);
  font-weight: 600;
}

.testimonials-title {
  font-size: 6.25rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  color: #C32921;
  margin: 0;
  padding-bottom: 1rem;
}

.testimonials-videos {
  margin-top: var(--spacer-lg);
  width: 100%;
  position: relative;
}

/* Fixed: Full-width borders for testimonials section */
.testimonials-videos::before,
.testimonials-videos::after {
  content: '';
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  height: 1px;
  background-color: #339A5E;
  z-index: 1;
}

.testimonials-videos::before {
  top: 0;
}

.testimonials-videos::after {
  bottom: 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background-color: transparent;
  max-width: 90%;
  margin: 0 auto;
}

.video-item {
  position: relative;
}

.video-item:first-child {
  border-right: 0.5px solid #339A5E;
}

.video-item:last-child {
  border-left: 0.5px solid #339A5E;
}

.video-wrapper {
  padding: var(--spacer-md);
  text-align: center;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 8px;
  background-color: #e0e0e0;
}

.video-caption {
  font-size: 1.4rem;
  font-family: var(--font-primary);
  color: #252422;
  margin: var(--spacer-sm) 0 0;
  text-align: center;
}

.text-highlight-underline {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-style: italic;
  font-size: 3rem; 
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-decoration-skip-ink: auto;
}

/* ------------------------------------------
   Responsive Design
------------------------------------------ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 8.5rem;
    line-height: 6.5rem;
    margin: 12rem 0 5rem 6rem;
    transform: translateY(0rem);

  }

  .hero-title::before {
    width: 50rem;
    height: 46.5rem;
    top: -1.5rem;
    left: -1.5rem;
  }

  .hero-description {
    margin: 0.5rem 0 0 6rem;
    font-size: 1.6rem;
    max-width: 45rem;
    transform: translateY(-1rem);

  }
  
  .introduction-section {
    margin: -12rem auto 6rem;
    width: 85%;
  }
  
  .intro-title {
    font-size: 2.4rem;
  }
  
  .intro-text p {
    font-size: 1.7rem;
  }
  
  .who-section {
    padding: 6rem var(--spacer-md);
  }
  
  .who-content {
    gap: 4rem;
    max-width: 95%;
  }
  
  .who-text h3 {
    font-size: 2.4rem;
    line-height: 3.5rem;
  }
  
  .approach-section,
  .testimonials-section {
    padding: 6rem var(--spacer-md);
  }
  
  .approach-subtitle {
    font-size: 2.2rem;
  }
  
  .testimonials-title {
    font-size: 5.5rem;
  }
  
  .testimonials-subtitle {
    font-size: 2.2rem;
  }
}

/* Tablets */
@media (max-width: 968px) {
  .hero-section {
    height: 80vh;
  }

  .hero-content {
    margin-left: 2rem;
  }

  .hero-title {
    font-size: 6.5rem;
    line-height: 5.5rem;
    margin: 10rem 0 4rem 4rem;
    transform: translateY(0rem);

  }

  .hero-title::before {
    width: 40rem;
    height: 45rem;
    top: -1.2rem;
    left: -1.2rem;
  }

  .hero-description {
    margin: 0.4rem 0 0 4rem;
    font-size: 1.4rem;
    max-width: 38rem;
    transform: translateY(-1rem);

  }
  
  .introduction-section {
    width: 90%;
    margin: -10rem auto 5rem;
    padding: 2.5rem;
    border-radius: 3rem;
  }
  
  .intro-title {
    font-size: 2.2rem;
  }
  
  .intro-text p {
    font-size: 1.6rem;
  }
  
  .who-section {
    padding: 5rem var(--spacer-sm);
  }
  
  .who-content {
    gap: 3rem;
    padding: var(--spacer-sm);
  }
  
  .vertical-divider {
    left: 38%;
  }
  
  .who-image,
  .who-text {
    padding: 3rem 2rem;
  }

  /* Adjust vertical image for tablets */
  .who-image img {
    width: 25rem;
    height: 32rem;
  }
  
  .who-text p {
    font-size: 1.7rem;
  }
  
  .who-text h3 {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }
  
  .approach-section,
  .testimonials-section {
    padding: 5rem var(--spacer-sm);
  }
  
  .approach-list {
    padding-left: 3rem;
  }
  
  .approach-item p {
    font-size: 1.7rem;
  }
  
  .testimonials-title {
    font-size: 4.5rem;
  }
  
  .text-highlight-underline {
    font-size: 2.5rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }

  .hero-content {
    margin-left: 1rem;
  }

  .hero-title {
    font-size: 4.5rem;
    line-height: 4rem;
    margin: 8rem 0 3rem 2rem;
    transform: translateY(0rem);
  }
  .hero-p-large{
      font-size: 1.6rem;
  }

  .hero-title::before {
    width: 28rem;
    height: 38rem;
    top: -1rem;
    left: -1rem;
  }

  .hero-description {
    margin: 0.3rem 0 0 2rem;
    font-size: 1.2rem;
    max-width: 26rem;
    text-align: left;
    transform: translateY(-1rem);

  }
  
  .introduction-section {
    width: 95%;
    margin: -8rem auto 4rem;
    padding: 2rem;
    border-radius: 2rem;
  }
  
  .intro-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .intro-text p {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .who-section {
    padding: 4rem 1rem;
  }
  
  .who-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0.5rem;
  }
  
  .vertical-divider {
    display: none;
  }
  
  .who-image,
  .who-text {
    padding: 2rem 1rem;
  }

  /* Adjust vertical image for mobile */
  .who-image img {
    width: 20rem;
    height: 26rem;
  }
  
  .who-text p {
    font-size: 1.6rem;
  }
  
  .who-text h3 {
    font-size: 2rem;
    line-height: 2.8rem;
    text-align: center;
  }
  
  .approach-section,
  .testimonials-section {
    padding: 4rem 1rem;
  }
  
  .approach-subtitle {
    font-size: 2rem;
    text-align: center;
  }
  
  .approach-list {
    padding-left: 2rem;
  }
  
  .approach-item p {
    font-size: 1.6rem;
  }
  
  .testimonials-subtitle {
    font-size: 2rem;
    text-align: center;
  }
  
  .testimonials-title {
    font-size: 3rem;
    text-align: center;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 95%;
  }
  
  .video-item:first-child {
    border-right: none;
    border-bottom: 0.5px solid #339A5E;
  }
  
  .video-item:last-child {
    border-left: none;
    border-top: 0.5px solid #339A5E;
  }
  
  .video-wrapper {
    padding: 2rem;
  }
  
  .text-highlight-underline {
    font-size: 2.2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content {
    margin-left: 0.5rem;
  }

  .hero-title {
    font-size: 3.2rem;
    line-height: 3rem;
    margin: 6rem 0 2.5rem 1rem;
      transform: translateY(0rem);

  }

  .hero-title::before {
    width: 22rem;
    height: 34rem;
    top: -0.8rem;
    left: -0.8rem;
  }
 .hero-p-large{
    font-size: 1.5rem;
 }
  .hero-description {
    margin: 0.2rem 0 0 1rem;
    font-size: 1rem;
    max-width: 20rem;
    text-align: left;
      transform: translateY(0rem);

  }
  
  .introduction-section {
    padding: 1.5rem;
    margin: -6rem auto 3rem;
    width: 98%;
  }
  
  .intro-title {
    font-size: 1.8rem;
  }
  
  .intro-text p {
    font-size: 1.4rem;
  }
  
  .who-section {
    padding: 3rem 1rem;
  }
  
  .who-content {
    padding: 1.5rem 0.25rem;
    gap: 1.5rem;
  }
  
  .who-image,
  .who-text {
    padding: 1.5rem 0.5rem;
  }

  /* Adjust vertical image for small mobile */
  .who-image img {
    width: 18rem;
    height: 24rem;
  }
  
  .who-text p {
    font-size: 1.4rem;
  }
  
  .who-text h3 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  
  .approach-section,
  .testimonials-section {
    padding: 3rem 1rem;
  }
  
  .approach-subtitle {
    font-size: 1.8rem;
  }
  
  .approach-list {
    padding-left: 1.5rem;
  }
  
  .approach-item {
    padding: 1rem 0;
  }
  
  .approach-item::before {
    left: -8%;
    width: 1rem;
    height: 1rem;
  }
  
  .approach-item p {
    font-size: 1.4rem;
  }
  
  .testimonials-subtitle {
    font-size: 1.6rem;
  }
  
  .testimonials-title {
    font-size: 2.5rem;
  }
  
  .videos-grid {
    max-width: 98%;
  }
  
  .video-wrapper {
    padding: 1.5rem;
  }
  
  .video-caption {
    font-size: 1.2rem;
  }
  
  .text-highlight-underline {
    font-size: 1.8rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .hero-content {
    margin-left: 0.25rem;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 2.5rem;
    margin: 5rem 0 2rem 0.5rem;
    transform: translateY(0rem);

  }

  .hero-title::before {
    width: 18rem;
    height: 31rem;
    top: -0.6rem;
    left: -0.6rem;
  }
  .hero-p-large{
    font-size: 1.2rem;
    
  }
  .hero-description {
    margin: 0.1rem 0 0 0.5rem;
    font-size: 0.9rem;
    max-width: 16rem;
    text-align: left;
    transform: translateY(-1.5rem);
  }
  
  .introduction-section {
    padding: 1rem;
    margin: -5rem auto 2rem;
  }
  
  .intro-title {
    font-size: 1.6rem;
  }
  
  .intro-text p {
    font-size: 1.3rem;
  }
  
  .who-section {
    padding: 2rem 0.5rem;
  }
  
  .who-content {
    padding: 1rem 0.25rem;
  }
  
  .who-image,
  .who-text {
    padding: 1rem 0.25rem;
  }

  /* Adjust vertical image for extra small devices */
  .who-image img {
    width: 15rem;
    height: 20rem;
  }
  
  .who-text h3 {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }
  
  .who-text p {
    font-size: 1.3rem;
  }
  
  .approach-section,
  .testimonials-section {
    padding: 2rem 0.5rem;
  }
  
  .approach-subtitle {
    font-size: 1.6rem;
  }
  
  .approach-item p {
    font-size: 1.3rem;
  }
  
  .testimonials-subtitle {
    font-size: 1.4rem;
  }
  
  .testimonials-title {
    font-size: 2.2rem;
  }
  
  .video-wrapper {
    padding: 1rem;
  }
  
  .text-highlight-underline {
    font-size: 1.6rem;
  }
}

/* ------------------------------------------
   Footer Social Icons Fix - Ensure Horizontal Layout
------------------------------------------ */
.footer_socials {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  margin-bottom: 0.8rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.footer_socials picture {
  display: inline-block !important;
}

.footer_socials img {
  width: 45px !important;
  height: 45px !important;
  filter: brightness(0) invert(1) !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

.footer_socials img:hover {
  transform: scale(1.1) !important;
  cursor: pointer !important;
}