/* --------------------------css reset start----------------------- */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  /* line-height: 1.5; */
  font-family: "Montserrat", "Open Sans", sans-serif;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* --------------------------css reset end----------------------- */

:root {
  --primary: #fff;
  --accent: #0147a4;
}

body {
  background-color: #fff;
  color: #0a0a0a;
}

header {
  z-index: 10;
  position: sticky;
  top: 0;
  background: transparent;
  padding-inline: clamp(24px, 5vw, 175px);
  display: flex;
  background-color: #fff;
  min-height: 72px;
  font-weight: 500;
  font-variant: all-petite-caps;
  letter-spacing: 1.5px;
}

.desktop-nav-container {
  display: none;
}

.mobile-nav-container {
  display: block;
}

.nav {
  margin-left: auto;
}

.desktop-nav-container nav {
  margin-block: 24px;
}

.nav a {
  margin-left: 32px;
}

.mobile-nav a {
  display: block;
  text-align: center;
  background-color: #e8e8e8;
  border-radius: 5px;
  width: 90vw;
  margin-left: 0;
  margin-block: 3px;
  padding-block: 24px;
}

.selectedTab {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
}

.menu-btn {
  margin-block: 16px;
  height: 36px;
  margin-left: auto;
}

.closeBtn {
  display: none;
}

@media screen and (min-width: 865px) {
  .mobile-nav-container,
  .menu-btn {
    display: none;
  }
  .desktop-nav-container {
    display: block;
  }
}

.bg-img {
  position: absolute;
  z-index: -1;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;

}

.hero-section {
  position: relative;
  z-index: 4;
  min-height: calc(100vh - 72px);
  color: var(--primary);
  padding-block: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 32px;
  padding-inline: clamp(24px, 6.25vw, 120px);
}

audio::-webkit-media-controls-mute-button {
  display: none !important;
}

audio::-webkit-media-controls-volume-slider {
  display: none !important;
}

.intro-p,
.devotional {
  color: var(--accent);
  font-size: clamp(12px, 0.937vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  width: fit-content;
}

.play-btn,
.pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hidden {
  visibility: hidden;
}

.main-p {
  font-weight: 700;
  font-size: clamp(18px, 1.815vw, 36px);
  margin-bottom: 16px;
  max-width: 540px;
}

.body-p {
  font-size: clamp(14px, 0.937vw, 18px);
  line-height: 1.5;
  max-width: 70ch;
  width: fit-content;
}

.socials {
  position: absolute;
  right: clamp(12px, 3.125vw, 60px);
  top: 50%;
  transform: translateY(-50%);
}

.insta-icon,
.yt-icon {
  margin-block: 18px;
}

.yt-icon {
  transform: translateX(-2px);
}

.second-section {
  position: relative;
}

.devotional::after {
  content: "";
  display: block;
  width: clamp(12px, 3.75vw, 72px);
  height: 2px;
  background: var(--accent);
  right: 0;
  transform: translateX(125%);
  top: 50%;
  position: absolute;
}

.title {
  font-size: clamp(36px, 3.3333vw, 64px);
  font-weight: 700;
  text-align: center;
}

.semi-bold {
  font-weight: 600;
}

.youTube {
  width: fit-content;
  cursor: pointer;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, calc(-1 * clamp(16px, 2.5vw, 48px)));
}
.youTube button {
  border-radius: 8px;
  padding: 0;
  background-color: aliceblue;
  border: none;
  display: flex;
  align-items: center;
  transition: all 0.3s linear;
}

.youTubeBtnTxt {
  padding-inline: 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.youTube:hover button {
  background-color: #f00;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 1.5px;
}

.knowMoreBtn {
  padding: 12px 24px;
  color: var(--accent);
  font-weight: 600;
  border: 2px solid var(--accent);
  width: fit-content;
  margin-top: 32px;
  cursor: pointer;
  border-radius: 12px;
}

.z-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-evenly;
  padding-block: clamp(24px, 6.25vw, 120px);
  padding-inline: 32px;
  min-height: 100vh;
}

.z-section img {
  max-height: 600px;
}

.z-section p {
  line-height: 1.5;
}

.z-section .body-p {
  line-height: 2;
}

.z-section .title {
  text-align: left;
}

.content-container {
  max-width: 1000px;
}

.img-container img {
  border-radius: 12px;
  border: 1px solid #ccc;
}

.know-more {
  background-color: var(--primary);
  position: absolute;
  padding: 32px;
  width: 100%;
  height: 80px;
  bottom: 1px;
  overflow: hidden;
  transition: all linear 0.5s;
  border-inline: 1px solid #ccc;
  border-radius: 12px;
  scrollbar-width: none;
}
.know-more::-webkit-scrollbar {
  display: none;
}

.know-more p {
  margin-block: 16px;
}

.gold-medal {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 600;
}

.z-section .sub-title {
  display: block;
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 18px;
}

.carousel-container {
  font-size: 18px;
  color: #5e5e5e;
  width: 650px;
  overflow-x: hidden;
  display: flex;
  align-items: center;
}

.carousel {
  padding: 30px;
  background-color: white;
  border: 2px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
}
.item {
  overflow-y: auto;
  scrollbar-width: none;
  max-height: 216px;
}
.carousel::-webkit-scrollbar {
  display: none;
}

.stu-name {
  color: var(--accent);
}

footer {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  align-items: center;
  justify-content: space-evenly;
  line-height: 2;
  padding-block: clamp(24px, 6.25vw, 48px);
  background-color: var(--accent);
  color: #fff;
}

@media screen and (max-width: 1250px) {
  footer {
    justify-content: center;
  }
  footer span {
    display: none;
  }
  .contactUs {
    margin-inline: 24px;
  }
}

@media screen and (max-width: 830px) {
  .contactUs {
    text-align: center;
  }
}

.contactUs {
  max-width: 500px;
}

.footer-img-container img {
  height: 24px;
  margin-inline: 24px;
}
