* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
    
body {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

/* nav styling goes here */

.navbar {
    border-bottom: 5px solid #0F172A;
}

.navbar-nav a{
    position: relative; 
    color: #0F172A;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

.navbar-nav a:hover {
    color: #4A90E2;

}

.navbar-nav a::after {
    content:'';
    height: 3px;
    background: #4A90E2;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    border-radius: 5px;
    background: #4A90E2;
    transition: all 0.3s ease-in-out;
}

.navbar-nav a:hover::after {
    width: 100%;
}

#mobileNav .signup-link {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    padding: 12px;
    background: #4A90E2;
    border-radius: 8px;
    transition: all 500ms ease-in-out;
}

#mobileNav .signup-link:hover {
    color: #333;
    background: white;
    border: 2px solid #4A90E2;
}

#mobileNav {
    width: 50vw;
}

/* home styling goes here*/

.home-section {
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 15px 60px;
    position: relative;
}

.home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image: url(../images/bgimage.png);
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05); /* prevents blur edges */
  z-index: 1;
}

.home-section > * {
  position: relative;
  z-index: 2;
}

.home-section .home-heading {
    text-align: center;
    line-height: 1.4;
    margin-top: 90px;  
    max-width: 100%; 
    text-align: center;
}

.home-section .home-heading h1 {
    font-size: 50px;
    line-height: 1.2;
    color: #0B5ED7;
    font-weight: 900;
}

.home-section .home-heading p {
    padding: 5px;
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.6;
    font-weight: 500;
    color: #E2E8F0;
}

.home-section .home-heading .join-waitlist-button {
    margin: 30px;
    transition: all 500ms ease-in-out;
    border: 2px solid white;
    border-radius: 15px;
    font-weight: 900;
}

.home-section .home-heading .join-waitlist-button:hover {
    border: 2px solid #0B5ED7;
    color: black;
    background:#e3f2fd;
}

.home-img {
    border: 2px solid #0B5ED7;
    border-radius: 50%; 
    animation: shake 3s ease-in-out infinite;
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes shake {
    0% {
        transform: translateX(-10px)
    }

    50% {
        transform: translateX(10px)
    }

    100% {
       transform: translateX(-10px) 
    }
}




/*about styling goes here*/

.about-section {
    background: #F8FAFC;
    padding: 80px 20px; 
}

.about-card {
    flex-wrap: wrap; 
    justify-content: center; 
    margin: 40px;
}

.about-card .card {
    flex: 1 1 300px; 
    background-color: white; 
    border-radius: 12px;
    padding: 20px 35px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    margin: 20px;
    text-align: center;
    border-left: 5px solid #0B5ED7;
}

.about-card .card:hover {
    transform: translateY(-5px);
}

.about-card .card-body h5 {
    font-weight: 700;
    color: #4A90E2;
    padding-bottom: 10px;
    text-align: center;
}

.about-card .card-body p {
    color: #555;
    line-height: 1.6;
}

/*how-it-works styling goes here*/

.how-it-works-section {
    padding: 80px 20px;
    background: #0B5ED7;
}

.how-it-works-card {
    flex-wrap: wrap; 
    justify-content: center; 
    margin: 40px;
    padding: 5px;
}

.how-it-works-card .card {
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: white; 
    border-radius: 50%;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin: 20px;
    text-align: center;
}

.how-it-works-card .step-1, 
.how-it-works-card .step-2,
.how-it-works-card .step-3 {
    animation: floatUpDown 3s ease-in-out infinite;;
}

@keyframes floatUpDown{
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px) 
  }
  100% {
    transform: translateY(0);
  }
}

.how-it-works-card .step-1 {
  animation-delay: 0.3s;
}

.how-it-works-card .step-2 {
  animation-delay: 0.7s;
}

.how-it-works-card .step-3 {
  animation-delay: 0.12s;
}

.how-it-works-card .card-body {
    padding: 20px;
}
.how-it-works-card .card-body h5 {
    font-weight: 700;
    color: #4A90E2;
    padding-bottom: 10px;
    text-align: center;
}

.how-it-works-card .card-body p {
    color: #555;
    line-height: 1.6;
}


/*episodes styling goes here*/
.episodes-section {
  background: #E2E8F0;
  padding: 80px 20px;
}

.episodes-section .carousel {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.episodes-section .carousel-item img {
  height: 380px;         
  object-fit: cover;     
}

.episodes-section .carousel-caption {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 20px 25px;
  bottom: 30px;
  left: 10%;
  right: 10%;
}

.episodes-section .carousel-caption h5 {
  font-size: 28px;
  font-weight: 700;
}

.episodes-section .carousel-caption p {
  font-size: 19px;
  opacity: 0.9;
}


.episodes-section .carousel-control-prev-icon,
.episodes-section .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}


/* Footer styling goes here*/
footer.footer-section {
    background: #E3F2FD;
    border-top: 3px solid black;
}

footer a.navbar-brand {
    padding: 40px 0;
}

footer ul .nav-item a {
    color: #333;
    font-weight: 500;
    transition: all 500ms ease-in-out;
}

footer ul .nav-item a:hover {
    color: #0B5ED7;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
}

footer span {
    color: #0B5ED7;
    font-weight: 900;
}

p.footer-contact {
    font-weight: 900;
    text-decoration: underline;
    color: #333;
    padding-right: 15px;
}

a.contact-link {
    text-decoration: none;
    
}

footer p.copy-right {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    opacity: 0.4;
    padding-top: 10px;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}


@media (min-width: 576px) and (max-width: 767) {
  .home-section {
    padding: 100px 12px 50px;
  }

  .home-img {
    max-width: 300px;
  }

  .home-section .home-heading h1 {
    font-size: 40px;
}

.home-section .home-heading p {
    padding: 5px;
    font-size: 16px;
}

.episodes-section .carousel-caption {
    padding: 10px;
    font-size: 14px;
  }

  .episodes-section .carousel-caption h5 {
    font-size: 16px;
  }

  .episodes-section .carousel-caption p {
    font-size: 10px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-section .home-heading h1 {
    font-size: 55px;   
  }

  .home-section .home-heading p {
    font-size: 22px;
    line-height: 1.8;
  }

  .home-section .home-heading .join-waitlist-button {
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 20px;
  }

  .home-img {
    max-width: 450px;   
  }

  .about-card .card-body h5 {
    font-size: 30px;
    padding: 20px 0;
  }

  .about-card .card-body p {
    font-size: 22px;
    line-height: 1.7;
}

.how-it-works-card {
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center;
}

.how-it-works-card .card {
    width: 260px;
    height: 260px;
    padding: 22px;
  }
}

