@import url("https://fonts.googleapis.com/css2?family=Cabin&family=Herr+Von+Muellerhoff&family=Source+Sans+Pro:wght@400;900&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Balthazar&display=swap');

/* Global Style */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-font: "Source Sans Pro", sans-serif;
  --secondary-font: "Herr Von Muellerhoff", cursive;
  --body-font: "Cabin", sans-serif;
  --mcclain-font: "Balthazar", sans-serif;
  --main-font-color-dark: #252525;
  --secondary-font-color: #c59d5f;
  --third-color: #0088d1;
  --body-font-color: #515151;
}

html {
  font-family: var(--body-font);
  font-size: 10px;
  color: var(--body-font-color);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.logo {
  width: 137px;
  height: auto;
  margin: 12rem 0 0 10rem;
}

section {
  padding: 3.9rem 0;
  overflow: hidden;
}

.mcclain-section {
  padding: 3.9rem 0;
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.9rem;
}

h6 {
  font-size: 1.7rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1.7px;
  margin-bottom: 1.7rem;
  text-align: left;
}

ul {
  list-style: disc;
  font-size: 1.9rem;
  text-align: left;
  padding-left: 3.7rem;
}

ol {
  font-size: 1.9rem;
  text-align: left;
  padding-left: 3.7rem;
}

.italic {
  font-style: italic;
}

.font-bold {
  font-weight: bold;
}

.container {
  width: 100%;
  max-width: 122.5rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.mcclain-container-padding {
  width: 100%;
  max-width: 122.5rem;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.dark-background {
  background-color: #000;
  padding-top: 7rem;
}

.white-text {
  color: #fff;
}

.justify-center {
  justify-content: center;
}

.blue-background {
  background-color: #5ab9ec;
  padding-top: 7rem;
}

.donate-button {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 1.7px;
  padding: 17px 33px;
  margin: 30px 0 12px 0;
  border-radius: 37px;
  background: linear-gradient(90deg, #755bea, #ff72c0);
  border: #fff solid 1px;
  transition: 0.7s;
}

.donate-button:hover {
  background: linear-gradient(90deg, #ff72c0, #755bea);
  border: #c59d5f solid 1px;
}

.video-text {
  padding-bottom: 1rem;
  line-height: 3rem;
}

/* Header */
header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.nav {
  height: 8.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  color: #ffffff;
  font-size: 2.3rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.7rem;
  cursor: pointer;
  z-index: 1500;
}

.fa-times {
  display: none;
}

.nav-list {
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100vh;
  background-color: var(--main-font-color-dark);
  padding: 4.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 1250;
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s;
}

.open .fa-times {
  display: block;
}

.open .fa-bars {
  display: none;
}

.open .nav-list {
  transform: translateX(0);
}

.open .nav::before {
  opacity: 1;
  transform: scale(1);
}

.nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-right: -2px;
  transition: color 0.5s;
}

.nav-link:hover {
  color: var(--secondary-font-color);
}

/* Hero */
.hero {
  width: 100%;
  height: 100vh;
  background: url(/img/main-hero.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.sub-headline {
  font-size: 7.7rem;
  font-family: var(--secondary-font);
  color: var(--secondary-font-color);
  font-weight: 300;
  line-height: 0.7;
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeUp 0.7s forwards;
  animation-delay: 0.3s;
}

.first-letter {
  text-transform: uppercase;
  font-size: 9.3rem;
}

.headline {
  color: var(--third-color);
  font-size: 3.7rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
  animation: scale 0.7s forwards;
}

.headline-white {
  color: #ffffff;
  font-size: 3.7rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
  animation: scale 0.7s forwards;
}

.mcclain-headline {
  color: var(--third-color);
  font-size: 7.7rem;
  font-family: var(--mcclain-font);
  // text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
  animation: scale 0.7s forwards;
}

.mcclain-subheadline {
  color: var(--third-color);
  font-size: 3.7rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
  margin-bottom: 1rem;
  animation: scale 0.7s forwards;
}

.mcclain-logo {
  margin-top: 2rem; /* Adjust spacing between text and logo */
  animation: scale 0.7s forwards;
  animation-delay: 0.2s; /* Optional: delay logo animation slightly */
  opacity: 0; /* Start invisible for the animation */
}

.mcclain-logo img {
  max-width: 200px; /* Adjust logo size as needed */
  height: auto;
  display: block;
  margin: 0 auto; /* Center the logo */
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 100%;
  max-width: 7.7rem;
  height: 0.21rem;
  background-color: #fff;
  opacity: 0;
  position: relative;
  animation: grow 2.3s forwards;
  animation-delay: 1s;
}

.line-right::before,
.line-left::before {
  content: "";
  position: absolute;
  top: 50%;
  border: 0.7rem solid transparent;
  opacity: 0;
  transform: translateY(-50%);
  animation: grow 0.7s forwards;
  animation-delay: 1.3s;
}

.line-right::before {
  border-right-color: #fff;
  right: 0;
}

.line-left::before {
  border-left-color: #fff;
  left: 0;
}

.star {
  font-size: 1.7rem;
  color: var(--secondary-font-color);
  margin: 0 1.7rem;
  animation: spin 0.7s forwards;
  animation-delay: 0.7s;
}

.single-animation {
  opacity: 0;
  animation: fadeDown 0.7s forwards;
  animation-delay: 1.7s;
}

.headline-description h5 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 100;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  letter-spacing: 3px;
  margin-right: -3px;
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-right: -3px;
}

.cta-btn {
  font-size: 1.7rem;
  background-color: #0088d1;
  padding: 0.9rem 1.7rem;
  color: #fff;
  border-radius: 0.7rem;
  transition: background-color 0.7s;
}

.top-btn {
  font-size: 1.7rem;
  background-color: #0088d1;
  padding: 0.9rem 1.7rem;
  margin: 3rem;
  color: #fff;
  border-radius: 0.7rem;
  transition: background-color 0.7s;
}

.up-btn {
  font-size: 1.7rem;
  font-weight: bold;
  background-color: #0088d1;
  padding: 1.7rem 1.7rem;
  margin: 3rem;
  color: #fff;
  border-radius: 0.7rem;
  transition: background-color 0.7s;
}

.up-yellow-btn {
  font-size: 1.7rem;
  font-weight: bold;
  background-color: #c59d5f;
  padding: 1.7rem 1.7rem;
  margin: 3rem;
  color: #fff;
  border-radius: 0.7rem;
  transition: background-color 0.7s;
}

.cta-btn:hover,
.cta-btn:focus {
  color: #ffffff;
  background-color: var(--secondary-font-color);
}

/* VPD */

.global-headline {
  text-align: center;
  margin-top: 3.9rem;
}

.vpd .global-headline {
  margin-top: 7rem;
}

.global-headline .star {
  margin: 3rem 0;
}

.headline-dark {
  color: var(--main-font-color-dark);
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
}

.global-headline .sub-headline {
  line-height: 2.7rem;
}

.philosophy-info {
  text-align: center;
}

.text-flow-left {
  text-align:left;
}

.philosophy-description {
  margin-bottom: 3rem;
}

.philosophy-description p {
  line-height: 1.7;
  margin-bottom: 2.3rem;
}

.body-btn {
  font-size: 1.7rem;
  color: var(--third-color);
  position: relative;
  transition: color 0.7s;
}

.body-btn::before {
  content: "";
  position: absolute;
  background-color: var(--third-color);
  width: 100%;
  height: 3px;
  left: 0;
  bottom: -3px;
  transition: background-color 0.7s;
}

.body-btn:hover,
.body-btn:focus {
  color: var(--main-font-color-dark);
}

.body-btn:hover::before,
.body-btn:focus::before {
  background-color: var(--main-font-color-dark);
}

.journey-experience {
  background: url(/img/space-walk.jpg) center no-repeat;
  background-size: cover;
}

.between {
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.child-upset {
  background: url(/img/child-upset.jpg);
  background-size: cover;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 57%;
  height: 0;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container-fixed-size {
  width: auto;
  height: 500px;
}

/* The Tools */

.image-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.3rem;
}

.vpd .philosophy-description {
  padding-top: 3rem;
  margin-bottom: 0;
}

/* Child Frustrated */

.child-frustrated {
  background: url(/img/child-frustrated.jpg);
  background-size: cover;
}

/* Destination */
.asking-help {
  background: url(/img/child-asking-for-help.jpg);
  background-size: cover;
}

/* techniques-tools */
.techniques-tools {
  width: 100%;
  height: 50vh;
  background: url(/img/space-goal.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* About Us Page */
.about-us {
  width: 100%;
  height: 73vh;
  background: url(/img/girl-reading-book.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.books {
  background: url(/img/brain-planet.jpg);
  background-size: cover;
}

/* The Donate Page */
.donate-hero {
  width: 100%;
  height: 73vh;
  background: url(/img/family-hands-holding-red-heart.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.img-gap {
  padding: 0 1rem 3.7rem 1rem;
}

.justify-left {
  text-align: left;
}

/* Gifted Page */
.life-hero {
  width: 100%;
  height: 73vh;
  background: url(/img/gifted-child.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.coaching-tools {
  background: url(/img/city-bubble.jpg);
  background-size: cover;
}

/* Media Page */
.media-hero {
  width: 100%;
  height: 73vh;
  background: url(/img/media-page.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.player {
  margin-left: auto;
  margin-right: auto;
  margin-top: 73px;
  width: 347px;
  background: #ffffff;
  box-shadow: 0 47px 77px rgba(0, 0, 0, 0.27);
  border: solid #5ab9ec;
}

.player .imgBx {
  /* position: relative; */
  width: 100%;
  height: 347px;
}

.player .imgBx img {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player audio {
  width: 100%;
  outline: none;
}

.good-neighbor-podcast-logo {
  width: 173px;
  height: 173px;
  position: relative;
}

/* McCain Page */
.mcclain-hero {
  width: 100%;
  height: 100vh;
  background: url(/img/high-school-basketball.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Afterschool Program Page */
.afterschool-hero {
  width: 100%;
  height: 100vh;
  background: url(/img/afterschool-program.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Blog Page */
.blog-hero {
  width: 100%;
  height: 50vh;
  background: url(/img/blog.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  border-bottom: 3px solid #c59d5f;
  box-shadow: 0 0 12px #c59d5f;
}

.blog-container {
  max-width: 673px;
  padding: 0 21px;
}

.this-form form {
  background: #e3f2fd;
  border-radius: 12px;
  padding: 50px;
  margin: -37 0 121px;
  font-size: 21px;
  position: relative;
  box-shadow: 0 37px 47px -47px #ffffff;
}

.this-form form input {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: none;
  height: 53px;
  padding: 21px;
  background: #bbdefb;
  color: #000;
  transition: 0.7s;
  font-size: 2.1rem;
}

.this-form form input:focus {
  outline: none;
  box-shadow: 0px 12px 21px -14px #0088d1;
  filter: contrast(73%);
}

.this-form form label {
  color: #0088d1;
  display: inline-block;
  margin-bottom: 12px;
  text-align: left !important;
}

.this-form form .subscribe {
  width: auto;
  height: auto;
  margin: 0 auto -83px;
  background: #0088d1;
  border: 1px solid #bbdefb;
  border-radius: 37px;
  font-size: 2.7rem;
  letter-spacing: 2.3px;
  line-height: normal;
  color: #fff;
}

.this-form form .subscribe:hover {
  background: #bbdefb;
  color: #0088d1;
  cursor: pointer;
}

/* McClain Logo Slider Styles */
.mcclain-logo-section {
  margin: 20px 0;
}

.mcclain-logo-slider {
  margin: 60px 0;
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
}

.mcclain-logo-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.mcclain-logo-track {
  display: flex;
  animation: mcclain-scroll-logos 23s linear infinite;
  gap: 60px;
  align-items: center;
}

.mcclain-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 100px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mcclain-logo-item:hover {
  transform: translateY(-5px);
}

.mcclain-logo-item img {
  max-width: 230px;
  max-height: 80px;
  object-fit: contain;
  // filter: grayscale(100%);
  // transition: filter 0.3s ease;
}

.mcclain-logo-item:hover img {
  filter: grayscale(0%);
}

@keyframes mcclain-scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-215%);
  }
}

.mcclain-logo-slider:hover .mcclain-logo-track {
  animation-play-state: paused;
}

.mcclain-logo-title {

  font-family: var(--main-font);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 3.7rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mcclain-logo-section {
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
  }
  .mcclain-logo-slider {
    display: block !important;
    visibility: visible !important;
    margin: 20px 0 !important;
    padding: 20px 0 !important;
  }
    .mcclain-logo-container {
    display: block !important;
    overflow-x: auto !important;
  }
  .mcclain-logo-item {
    // width: 200px;
    // height: 80px;
    display: flex !important;     
    width: 200px !important;
    height: 80px !important;
    flex-shrink: 0 !important;
  }
  
  .mcclain-logo-item img {
    max-width: 180px;
    max-height: 60px;
  }
  
  .mcclain-logo-track {
    gap: 40px;
    display: flex !important;
    animation: mcclain-scroll-logos 15s linear infinite !important;
    min-width: 100% !important;
  }
  
  .mcclain-logo-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .mcclain-logo-item {
    width: 150px;
    height: 60px;
  }
  
  .mcclain-logo-item img {
    max-width: 130px;
    max-height: 40px;
  }
  
  .mcclain-logo-track {
    gap: 30px;
  }
  
  .mcclain-logo-slider {
    padding: 30px 0;
    margin: 40px 0;
  }
  
}

/* MailChimp CSS */
.this-form form .mc-field-group {
  margin-bottom: 21px;
}

.this-form form .indicates-required {
  color: #0088d1;
  font-size: 1.7rem;
  margin: 21px 0;
  text-align: center;
}

.this-form form input + .mce_inline_error {
  display: inline-block;
  font-size: 1.3rem;
  position: relative;
  letter-spacing: 1px;
}

.this-form form #mce-success-response {
  transition: 1s;
  text-align: center;
  animation: response 1s forwards;
}

.this-form form #mce-error-response {
  color: #6b0505;
  font-size: 1.7rem;
  transition: 1s;
  animation: response 1s forwards;
  text-align: center;
}

.this-form form #mce-error-response a {
  color: #0088d1;
  font-size: 1.7rem;
}

.this-form form label .asterisk {
  font-size: 0.75em;
  vertical-align: super;
}

@keyframes response {
  0% {
    opacity: 0;
    transform: translateY(21px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Page */
.contact-hero {
  width: 100%;
  height: 50vh;
  background: url(/img/contact-us.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* APD Blog Page */
.apd-blog {
  width: 100%;
  height: 50vh;
  background: url(/img/child-shutdown.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Trust Your Gut Page */
.trust-your-gut {
  width: 100%;
  height: 50vh;
  background: url(/img/child-sitting-floor.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.philosophy-description i a {
  text-decoration: none;
  color: #0088d1;
}

.philosophy-description p a {
  text-decoration: none;
  color: #0088d1;
}

.philosophy-description h4 {
  text-align: left;
  font-size: 21px;
  padding: 12px 0;
}

/* Trust Your Gut Page */
.giftedness-awareness {
  width: 100%;
  height: 70vh;
  background: url(/img/mom-helps-girl.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Vision Therapy Blog Page */
.vision-therapy-blog {
  width: 100%;
  height: 63vh;
  background: url(/img/girl-wearing-glasses.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #bbdefb;
  width: 337px;
  margin: 12px;
  border-radius: 21px;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.7);
}

.card-image {
  height: 193px;
  margin-bottom: 12px;
  background-size: cover;
  border-radius: 21px 21px 0 0;
}

.card-1 {
  background-image: url("/img/calendar.jpg");
}

.card-2 {
  background-image: url("/img/clock.jpg");
}

.card-3 {
  background-image: url("/img/blond-boy.jpg");
}

.card h2 {
  padding: 10px;
  font-family: "Source Sans Pro", sans-serif;
}

.card p {
  padding: 10px;
  text-align: left;
  font-size: 15px;
}

.card:hover {
  cursor: pointer;
  transform: scale(1.07);
  transition: all 0.3s ease-in;
}

/* Visual-Spatial Page */
.visual-spatial-blog {
  width: 100%;
  height: 70vh;
  background: url(/img/girl-pupil-drawing.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Big Wave Page */
.big-wave {
  width: 100%;
  height: 70vh;
  background: url(/img/family-watching-tv.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.wave-info {
  min-height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.wave-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-left {
  width: 50%;
  height: 600px;
  background: url(/img/laurie.jpg) no-repeat center / cover;
  border-radius: 12px;
}

.wave-right {
  width: 50%;
  min-height: 300px;
  background-color: #5ab9ec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px;
  border-radius: 12px;
  margin-left: -100px;
}

.wave-right h2 {
  font-size: 21px;
}

.wave-right p {
  font-size: 21px;
}

.iframe-wave-container {
  position: relative;
  width: 100%;
  padding-top: 57%;
  margin-bottom: 73px;
  height: 0;
}

.iframe-wave-container iframe {
  position: absolute;
  top: 100px;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

/* Conversation Page */
.conversation {
  width: 100%;
  height: 70vh;
  background: url(/img/little-boy-suffering.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Learning to learn Part 1 Page */
.learning-learn-one {
  width: 100%;
  height: 70vh;
  background: url(/img/developmental-pyramid.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Learning to learn Part 2 Page */
.learning-learn-two {
  width: 100%;
  height: 70vh;
  background: url(/img/developmental-pyramid-2.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Learning to learn Part 3 Page */
.learning-learn-three {
  width: 100%;
  height: 70vh;
  background: url(/img/developmental-pyramid-3.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Learning to learn Part 4 Page */
.learning-learn-four {
  width: 100%;
  height: 70vh;
  background: url(/img/developmental-pyramid-4.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* MNRI Page */
.mnri {
  width: 100%;
  height: 73vh;
  background: url(/img/hearing.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Change for the better */
.change-for-better {
  width: 100%;
  height: 70vh;
  background: url(/img/elementary-school.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Fundraising 2022 Page */
.fundraising-2022 {
  width: 100%;
  height: 73vh;
  background: url(/img/fundraising-event-2022.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.fundraising-mobile {
  width: 100%;
  height: 73vh;
  background: url(/img/fundraising-event-mobile.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Adventure Camp 2025 Page */
.adventure-camp-2025 {
  width: 100%;
  height: 73vh;
  background: url(/img/kids-reading-books.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.adventure-camp-mobile {
  width: 100%;
  height: 73vh;
  background: url(/img/kids-reading-books.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.camp-thumbnail {
  width: 150px;
  height: auto;
  margin: 12px 37px 21px 37px;
}

.camp-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.camp-box {
  text-align: center;
  max-width: 150px;
}

.camp-box img {
  width: 100%;
  border-radius: 10px;
}

.camp-caption {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.7rem;
  color: #444;
}

.camp-download-link {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.camp-download-link img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.camp-download-link:hover img {
  transform: scale(1.05);
}

.camp-headline {
  font-size: 60px;
}

/* Vision Therapy Page */
.vision-therapy {
  width: 100%;
  height: 70vh;
  background: url(/img/girl-sitting-book.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Joshua's Journey Page */
.joshua-journey {
  width: 100%;
  height: 70vh;
  background: url(/img/joshua-journey.JPG) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.joshua-left {
  width: 50%;
  height: 600px;
  background: url(/img/michelle-hillman.JPG) no-repeat center / cover;
  border-radius: 12px;
}

/* Vision Therapy Page */
.visual-perceptual {
  width: 100%;
  height: 70vh;
  background: url(/img/girl-sitting-confused.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Vision Therapy Page */
.shine-a-light {
  width: 100%;
  height: 100vh;
  background: url(/img/shine-a-light-header.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Michelle Kotler Page */
.kotler-hero {
  width: 100%;
  height: 70vh;
  background: url(/img/boy-with-glasses.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.kotler-left {
  width: 50%;
  height: 600px;
  background: url(/img/michelle-kotler.jpg) no-repeat center / cover;
  border-radius: 12px;
}

.endless-income {
  width: 73%;
  height: auto;
}

/* COVD Page */
.covd-hero {
  width: 100%;
  height: 70vh;
  background: url(/img/ms-kotler-presentation.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.covd-left {
  width: 50%;
  height: 600px;
  background: url(/img/sue-mann-conference.jpg) no-repeat center / cover;
  border-radius: 12px;
}

/* OSERS Page */
.osers-hero {
  width: 100%;
  height: 70vh;
  background: url(/img/frustrated-unhappy-girl-school.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Checklist Page */
.checklist-hero {
  width: 100%;
  height: 70vh;
  background: url(/img/frustrated-unhappy-girl-school.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Education Complaint Update Page */
.edu-update {
  width: 100%;
  height: 53vh;
  background: url(/img/writing-with-chalk.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* VDP Checklist Page */
.main-checklist {
  width: 100%;
  height: 70vh;
  background: url(/img/checklist-red-pencil.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* ADP Checklist Page */
.blue-checklist {
  width: 100%;
  height: 70vh;
  background: url(/img/checklist-blue.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* How Do Our Eyes Work Checklist Page */
.eyes-work {
  width: 100%;
  height: 70vh;
  background: url(/img/happy-teen-with-eyeglasses.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Baby See Page */
.baby-see {
  width: 100%;
  height: 70vh;
  background: url(/img/baby-closeup.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.short-text {
  display: none;
}

/* Symptoms ADP Page */
.symptoms-adp {
  width: 100%;
  height: 70vh;
  background: url(/img/sad-teen-girl.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Team Page */
.team-hero {
  width: 100%;
  height: 40vh;
  background: url(/img/happy-kids-elementary-school.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Advisory Board Page */
.advisory-hero {
  width: 100%;
  height: 40vh;
  background: url(/img/youthful-student.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Cost of Vision Therapy Page */
.cost-vision {
  width: 100%;
  height: 70vh;
  background: url(/img/children-expressions.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Roundtable 2024 Page */
.roundtable-2024 {
  width: 100%;
  height: 73vh;
  background: url(/img/roundtable-hero.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}

.roundtable-mobile {
  width: 100%;
  height: 73vh;
  background: url(/img/roundtable-hero.jpg) center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
}


/* Footer */
footer {
  padding: 7.9rem 0;
  background-color: #121212;
  color: #fff;
  text-align: center;
  position: relative;
}

.back-to-top {
  width: 7rem;
  height: 7rem;
  background-color: #121212;
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.back-to-top i {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  padding: 2.3rem;
  animation: up 2.3s infinite;
}

.footer-content {
  overflow: hidden;
}

.footer-content h4 {
  font-size: 1.7rem;
  text-transform: uppercase;
  font-weight: 100;
  letter-spacing: 3px;
  margin-bottom: 3rem;
}

.footer-content .star {
  margin: 2.3rem 0;
}

.footer-content-about {
  margin-bottom: 3.7rem;
}

.footer-content-about p {
  line-height: 1.7;
}

.social-icons {
  list-style: none;
  margin-bottom: 3.7rem;
  display: flex;
  justify-content: center;
}

.social-icons i {
  font-size: 2.7rem;
  color: #fff;
  padding: 0.7rem 3rem;
  opacity: 0.7;
  transition: color 0.7s;
}

.social-icons i:hover,
.social-icons i:focus {
  color: var(--secondary-font-color);
}

.blog {
  position: absolute;
  margin-left: 10.7rem;
}

.img-padding-bottom {
  padding-bottom: 1rem;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: o;
  width: 100%;
  height: 100%;
}

ul li ul.dropdown li {
  display: block;
  padding: 12px;
}

ul li ul.dropdown {
  width: 100%;
  display: none;
  position: absolute;
 
}

ul li:hover ul.dropdown {
  display: block;
}


/* Carousel */

  .mcclainpics-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background: #000;
  }

  .mcclainpics-carousel {
    position: relative;
    width: 100%;
    max-width: 600px; /* keeps it from getting too large */
    aspect-ratio: 1 / 1; /* keeps it square */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .mcclainpics-images {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }

  .mcclainpics-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .mcclainpics-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1.5rem, 4vw, 2rem); /* responsive font size */
    color: white;
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
  }

  .mcclainpics-arrow:hover {
    background: rgba(0,0,0,0.7);
  }

  .mcclainpics-left {
    left: 10px;
  }

  .mcclainpics-right {
    right: 10px;
  }

  .mcclainpics-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
  }

  .mcclainpics-indicator {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
  }

  .mcclainpics-indicator.mcclainpics-active {
    background: white;
  }

/* End of Carousel */

/* Media queries */

@media screen and (min-width: 900px) {



  section {
    padding: 5.9rem;
  }

   .mcclain-section {
    padding: 3rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .nav-list {
    position: initial;
    width: initial;
    height: initial;
    background-color: transparent;
    padding: 0;
    justify-content: initial;
    flex-direction: row;
    transform: initial;
    transition: initial;
  }

  .nav-item {
    margin: 0 2.3rem;
    border: none;
  }

  .nav-item:last-child {
    margin-right: 0;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .active {
    position: relative;
  }

  .active::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    left: 0;
    bottom: -3px;
  }

  .sub-headline {
    font-size: 10rem;
  }

  .first-letter {
    font-size: 12.3rem;
  }

  .headline {
    font-size: 4.7rem;
    letter-spacing: 0.7rem;
  }

  .headline-smaller {
    font-size: 3.7rem;
    letter-spacing: 0.7rem;
  }

  // .mcclain-headline {
  //   font-size: 3.7rem;
  //   letter-spacing: 0.7rem;
  // }

  .line {
    max-width: 23.7rem;
  }

  .philosophy-info {
    display: flex;
    align-items: center;
  }

  .philosophy-info > div {
    flex: 1;
  }

  .padding-right {
    padding-right: 7rem;
  }


  .footer-content {
    max-width: 77.5rem;
    margin: auto;
  }

  .footer-content-divider {
    display: flex;
    justify-content: space-between;
  }

  .social-media,
  .blog-container {
    width: 100%;
    max-width: 27.3;
    margin: 0 1rem;
  }

  .social-icons i {
    opacity: 1;
  }


}

@media screen and (max-width: 768px) {

  .shine-a-light-mobile {
    background-image: url(/img/Shine-a-light-fundraising-event-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .media-video-mobile {
    background-image: url(/img/media-page-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .kotler-mobile {
    background-image: url(/img/boy-with-glasses-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .kotler-pic-mobile {
    background-image: url(/img/michelle-kotler-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .endless-logo-mobile {
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .covd-mobile {
    background-image: url(/img/ms-kotler-presentation-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .covd-pic-mobile {
    background-image: url(/img/sue-mann-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .osers-mobile {
    background-image: url(/img/girl-holding-books-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .checklist-mobile {
    background-image: url(/img/frustrated-unhappy-girl-school-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 



  .edu-update-mobile {
    background-image: url(/img/writing-with-chalk-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .main-checklist-mobile {
    background-image: url(/img/frustrated-unhappy-girl-school-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .blue-checklist-mobile {
    background-image: url(/img/checklist-blue-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .eyes-work-mobile {
    background-image: url(/img/happy-teen-with-eyeglasses-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .symptoms-adp-mobile {
    background-image: url(/img/sad-teen-girl-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  } 

  .advisory-hero-mobile {
    background-image: url(/img/advisory-board-hero-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  }

  .cost-vision-mobile {
    background-image: url(/img/children-expressions-mobile.jpg);
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 390px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh;
  }

  .mobile-discover-padding {
    padding-bottom: 321px;
  }

  .short-text {
    display: inline-block;
  }

  .long-text {
    display: none;
  }

  .wave-container {
    flex-direction: column;
    width: 100%;
    margin: 0 7px;
  }

  .fundraising-2022 {
    display: none;
  }

  .fundraising-mobile {
    display: block;
  }

  .roundtable-2024 {
    display: none;
  }

  .roundtable-mobile {
    display: block;
  }

  .wave-left {
    width: 97%;
  }

  .wave-right {
    width: 87%;
    margin: 0;
    margin-top: -100px;
  }

  .wave-right h2 {
    font-size: 17px;
  }

  .wave-right p {
    font-size: 17px;
  }

  .logo {
    width: 100px;
    height: auto;
    margin: 3rem 27rem 0 0;
  }

  .camp-mobile-headline {
    font-size: 30px;
    text-align: center;
    
  }

  .mcclain-headline {
    font-size: 4.7rem;
    letter-spacing: 0.7rem;
  }
}



/* Animations */

@keyframes fadeUp {
  0% {
    transform: translateY(3.7rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale {
  0% {
    transform: scale(2.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes grow {
  0% {
    width: 0;
  }
  100% {
    opacity: 1;
    width: 100%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    opacity: 1;
    transform: rotate(-360deg);
  }
}

@keyframes fadeDown {
  0% {
    transform: translateY(-1rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes up {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-1rem);
  }
}
