/* Hero */
.container_hero {
  margin-top: 0px;
  margin: auto;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 1312px;
  min-height: 600px;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.267)),
    url("../assests/imgs/homepage/worshippers.jpg");
  background-size: cover;
  background-position: center;
}

.hero_title {
  margin: 0;
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.1;
}

.hero_subtitle {
  margin: 20px 0 0;
  max-width: 52ch;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
}

.hero_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.hero_button,
.hero_button1 {
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 16px 28px;
  white-space: nowrap;
  transition: all;
}
.hero_button:hover,
.hero_button1:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.hero_button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
}

.hero_button1 {
  background-color: transparent;
  backdrop-filter: blur(20px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero_schedule {
  margin-top: 50px;
  max-width: 900px;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: clamp(0.75rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
}

.hero_schedule p {
  font-size: 15px;
  font-weight: lighter;
}

/* Feature grid */
.values_container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid_card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: black;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.icon {
  font-size: 50px;
  color: #d1f5ff;
  -webkit-text-stroke: 3px #20839d;
  margin-bottom: 10px;
  border-radius: 50%;
  border-width: 20px;
  border-color: transparent;
  background-color: #d1f5ff;
  padding: 20px;
  padding-top: 25px;
  width: 100px;
  height: 100px;
}

.grid_card h3 {
  margin: 0 0 8px;
  font-family: "Lato", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

.grid_card p {
  margin: 0;
  padding: 0 12px;
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
}

.worship_bg {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
    url("../assests/imgs/homepage/praying.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* Worship */
.worship_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 16px auto 0;
  padding: clamp(48px, 8vw, 100px) var(--section-padding-x);
  text-align: center;
  border-radius: var(--radius-lg);
  min-height: clamp(500px, 60vh, 850px);
}

.content_message {
  color: #fff;
  max-width: 640px;
}

.content_message h4 {
  margin: 0 0 8px;
  font-family: "Lato", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
}

.content_message p {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
}

.schedule_content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.service_schedule {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 280px;
  max-width: 375px;
  min-height: 180px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.247);
  border-radius: var(--radius-lg);
  color: #fff;
  backdrop-filter: blur(50px);
  background-color: rgba(255, 255, 255, 0.151);
}

.icon_time {
  font-size: 30px;
  -webkit-text-stroke: 1px white;
  color: transparent;
}

.service_schedule p {
  margin: 5px;
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  font-size: 24px;
}

.join_us_button {
  background-color: var(--color-primary);
  color: #fff;
  width: min(100%, 320px);
  height: 63px;
  border: none;
  border-radius: 10px;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  margin-top: clamp(32px, 10vw, 126px);
}
.join_us_button:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.message_container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 5vw, 64px) var(--section-padding-x);
  margin: 20px auto 0;
  border-radius: 10px;
  width: var(--content-width);
  max-width: var(--max-width);
  min-height: auto;
  background-color: #eef4f5d3;
}

.message_content {
  font-family: "Lato", sans-serif;
}

.message_content p,
h2 {
  text-align: left;
}

.message_container img {
  width: min(100%, 370px);
  height: auto;
  margin: 0 auto;
  border-radius: 30px;
}

.message_container .content_message {
  max-width: 480px;
  margin: 0 auto;
}

/* Events */
.events_container {
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  width: var(--content-width);
  max-width: var(--max-width);
}

.event_card1,
.event_card2 {
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: clamp(280px, 40vw, 436px);
  border-radius: var(--radius-md);
  padding-top: 40px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.event_card1 {
  background-image: url("../assests/imgs/homepage/golden_jubliee.JPG");
}

.event_card2 {
  background-image: url("../assests/imgs/homepage/tre.jpg");
}
.event_card1:hover,
.event_card2:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.events_message h2 {
  font-family: "Lato", sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}

.events_message p {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-top: 0;
}

.events_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.events_grid h3 {
  align-items: center;
  text-align: center;
  justify-content: center;
  display: grid;
  color: #097a98;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  background-color: white;
  padding: 8px 10px;
  margin: auto;
  width: 250px;
  height: 48px;
  border-radius: 50px;
  margin-top: 36px;
}

.events_grid p {
  align-items: center;
  text-align: center;
  justify-content: center;
  display: grid;
  color: white;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin: auto;
  padding: 26px;
}

.event_schedule p {
  font-size: 14px;
  color: white;
  font-family: "Lato", sans-serif;
  font-weight: 300;
}

/* Sermons */
.sermon_container {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6)),
    url("../assests/imgs/homepage/message.jpg");
  background-size: cover;
  backdrop-filter: blur(205px);
  margin: 50px auto 120px;
  border-radius: var(--radius-lg);
  width: var(--content-width);
  max-width: var(--max-width);
  padding-bottom: clamp(24px, 4vw, 60px);
}

.sermon_heading {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-family: "Lato", sans-serif;
  font-size: 36px;
  font-weight: 600px;
}

.sermon_heading h2 {
  margin-bottom: 10px;
  color: white;
  font-family: "Lato", sans-serif;
}

.sermon_heading p {
  font-size: 18px;
  margin-top: 0px;
  color: white;
  font-family: "Lato", sans-serif;
}

.sermon_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 40px;
  background-color: transparent;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  margin: 40px clamp(16px, 5vw, 102px) 60px;
  width: auto;
  max-width: 1188px;
  min-height: auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
}

.sermon_content .icon1 {
  background-color: rgba(255, 255, 255, 0.205);
  border: 1px solid rgba(255, 255, 255, 0.096);
  border-radius: 200%;
  backdrop-filter: blur(20px);
  color: transparent;
  -webkit-text-stroke: 1px white;
  padding: 25px;
  font-size: 20px;
  cursor: pointer;
  width: 70px;
  height: 70px;
}

.sermon_archive i {
  margin-top: 30px;
  color: white;
  font-size: 18px;
  gap: 20px;
  padding: 30px;
  cursor: pointer;
}

.sermon_content .sermon_title {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.sermon_content h2 {
  font-size: 32px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: white;
}

.sermon_title {
  margin-top: 50px;
  line-height: 1.2;
}

.sermon_title p {
  font-size: 20px;
  font-family: "Lato", sans-serif;
  font-weight: lighter;
  font-style: medium;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
}

.sermon_title h2 {
  font-size: 32px;
  font-weight: 600;
  font-style: medium;
}

.sermon_date {
  margin-top: 0px;
  font-size: 20px;
  font-weight: lighter;
  margin-bottom: 40px;
}

.sermon_message p {
  margin-bottom: 45px;
  font-size: 18px;
  margin-top: 0px;
  line-height: 1.5;
}

.sermon_quote {
  background-color: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(100px);
  border-radius: var(--radius-lg);
  width: min(100%, 502px);
  min-height: 105px;
  padding-bottom: 12px;
}

.sermon_quote p {
  margin-top: 20px;
  margin-bottom: 0px;
  padding-left: 30px;
  font-style: italic;
  font-weight: 100;
}

.sermon_quote .verse {
  margin-top: 10px;
  text-align: right;
  padding-right: 20px;
  font-style: normal;
}

.sermon_content p {
  font-size: 18px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  text-align: left;
  color: white;
}

.sermon_content button {
  color: white;
  background-color: var(--color-primary);
  width: 229px;
  height: 63px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  margin-top: 40px;
}
.sermon_content button:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* Testimonies */
.testimony_container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin-bottom: 100px;
}

.testimony_container h2 {
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}

.testimony_container p {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-top: 0px;
  line-height: 1.5;
}

.testimony_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  text-align: left;
  gap: 20px;
  padding: 0 var(--section-padding-x);
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
}

.testimony_content .icon_quote {
  font-size: 30px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

.testimony_content p {
  font-size: 18px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  text-align: left;
}

.testimony_card {
  background-color: white;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.041);
  border-radius: var(--radius-md);
  flex: 1 1 280px;
  max-width: 400px;
  min-height: 255px;
  padding: 20px;
  animation: spin 5s infinite linear;
}
@keyframes spin {
  from {translate: 0}
  to {translate: -100%;}
}

.navbar p {
  justify-content: left;
  text-align: left;
}
/* Responsive */
@media (max-width: 768px) {
  .container_hero {
    grid-template-columns: 1fr;
    gap: 16px;
    display: block;
  }

  .grid_card {
    min-height: 240px;
  }

  .message_container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .message_content p,
  .message_content h2 {
    text-align: center;
  }

  .events_grid {
    grid-template-columns: 1fr;
  }

  .sermon_content {
    flex-direction: column;
  }

  .testimony_content {
    flex-direction: column;
    align-items: center;
  }

  .testimony_card {
    max-width: 100%;
    width: 100%;
  }

  .schedule_content {
    flex-direction: column;
    align-items: center;
  }

  .service_schedule {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width:1200px) {

  .hero-content{
      min-height: 600px;
      padding: 32px 20px;
      width: 100%;
      height: 80%;
  }
}
@media (max-width:768px) {

  .hero-content{
      min-height: 600px;
      padding: 32px 20px;
      width: 100%;
      height: 80%;
  }

  .hero-content h1{
      font-size:2.5rem;
      line-height:1.2;
      max-width:100%;
  }

  .hero-content p{
      font-size:1rem;
      max-width:100%;
      margin:20px 0;
  }

  .hero-buttons{
      display:flex;
      flex-direction:column;
      width:100%;
      align-items:center;
      gap:16px;
  }

  .hero-buttons .btn{
      width:100%;
      max-width:320px;
  }

  .service-times{
      display:none;
  }
}

@media (max-width: 480px) {
  .grid_card {
    min-height: 200px;
    border-radius: 16px;
    padding: 20px 16px;
  }

  .worship_container {
    gap: 24px;
    border-radius: 16px;
  }

  .service_schedule {
    min-height: 140px;
  }
}
