@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins;
}

:root {
  --primary-color: #4a6fa5;
  --primary-dark: #3a5a80;
  --secondary-color: #d4a59a;
  --accent-color: #ec3507;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 50px;
}

html {
  scroll-behavior: smooth;
}

/* Header */

.header {
  position: fixed;
  z-index: 100;
  background-color: white;
  width: 100vw;
  height: 100px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.navbar {
  margin-top: 20px;
  padding-bottom: 10px;
  display: flex;
  justify-content: Center;
  gap: 50px;
  
}

.nav-menu {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  margin-top: 25px;
}

ul {
  list-style: none;
}

.nav-item .nav-link {
  font-weight: 500;
  /* position: relative; */
  padding: 5px 0;
}

.fsbcLogo {
  width: 70px;
  height: 70px;
}

.churchName {
  margin-top: 25px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
}

#menu-icon {
  font-size: 36px;

  display: none;
}
.churchName2 {
  display: none;
}

/* Hero Section */

.hero {
  padding-top: 100px;
}
.hero-content {
  margin-left: 200px;
}

.hero-content > h1 {
  padding-top: 50px;
  font-size: 72px;
  color: var(--black);
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff;
  flex: 1 1 auto;
}
.subtitle {
  color: white;
  font-size: 27px;
  padding-top: 30px;
}

.bordered-text {
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000,
    -1px -1px 0 #000;
}

.container2 {
  background-image: url(./heroBackground.png);
  background-size: 80%;
  background-repeat: repeat-x;
  width: 100vw;
  height: 110vh;
  overflow: hidden;
  display: flex;
}

.btn {
  margin-top: 30px;
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Welcome SEction
 */
.welcomeSection {
  padding: 70px;
  width: 100vw;
  height: 60vh;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
  padding-bottom: 0px;
}
.welcomeHolder {
  background-color: var(--white);
  border-radius: 12px;

  text-align: center;
  max-width: 400px;
  margin: 0 auto 80px;
  padding-top: 40px;
  flex: 1 1 auto;
}

.welcomeHolder h2 {
  margin-bottom: 20px;
  color: var(--black);
}

.btn-outline {
  margin-top: 20px;
  display: inline-block;
}

.videoHome {
  margin-left: 20px;
  width: 560px;
  height: 315px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

/* Action Cards */
.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon i {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.prayerIcon {
  width: 74px;
  height: 74px;
}

/* Online Section */
.online-section {
  background: linear-gradient(to right, var(--secondary-color), #1e40af);

  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  margin-bottom: 80px;
  width: 100vw;
}

.online-section p {
  color: var(--white);
  opacity: 0.9;
  max-width: 100vw;
  margin: 0 auto 40px;
}

.online-section h2 {
  color: var(--white);
  opacity: 0.9;
  max-width: 100vw;
  margin: 0 auto 40px;
}

/* .online-section img {
  height: 64px;
  margin-bottom: 30px;
} */

/* Free Items section    */
.freeItemsContent {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
  background: rgb(246, 246, 246);
}

.freeItemsContent a {
  display: inline-block;
  margin-bottom: 40px;
}

/* footer */
footer {
  background-color: #ffffff;
  padding: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Row 1: Main content */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-branding {
  font-size: 15px;
  color: #333;
}

.footer-branding a {
  color: #00a8e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-branding a:hover {
  color: #0088b8;
  text-decoration: underline;
}

/* Navigation Links */
.footer-nav {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav li a {
  color: #00a8e1;
  text-decoration: none;
  font-size: 10px;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  color: #0088b8;
  text-decoration: underline;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.footer-social li a:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Row 2: Legal and Related Content */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.copyright {
  font-size: 13px;
  color: #666;
}

.legal-links {
  font-size: 13px;
  color: #666;
}

.legal-links a {
  color: #00a8e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #0088b8;
  text-decoration: underline;
}

.separator {
  margin: 0 8px;
  color: #999;
}

/* Related Content */
.footer-related {
  font-size: 13px;
  color: #666;
}

.related-label {
  font-weight: 600;
  margin-right: 8px;
}

.footer-related a {
  color: #00a8e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-related a:hover {
  color: #0088b8;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  footer {
    padding: 30px 40px;
  }

  .footer-nav {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 25px 20px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-nav {
    width: 100%;
    gap: 15px 20px;
  }

  .footer-social {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .legal-links,
  .footer-related {
    line-height: 1.8;
  }
}

/* Reveal on Scroll effect */
.section {
  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

/* mobile responsiveness */
@media (max-width: 1677px) {
  .container2 {
    height: 90vh;
  }
}

@media (max-width: 1100px) {
  .container2 {
    height: 60vh;
  }
}

@media (max-width: 1114px) {
  #menu-icon {
    margin-top: 20px;
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

@media (max-width: 697px) {
  .churchName {
    display: none;
  }
  .churchName2 {
    margin-top: 25px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
  }
  .hero-content > h1 {
    font-size: 24px;
  }
  .hero-content {
    margin-left: 50px;
  }
  .subtitle {
    font-size: 50px;
  }
}

@media (max-width: 1081px) {
  iframe.videoHome {
    display: none;
  }
}

/* @media (max-width: 757px) {
  .welcomeSection {
    padding: 150px;
  }
  .welcomeVideo {
    width: ;
  }
} */

@media (max-width: 892px) {
  .hero-content > h1 {
    font-size: 36px;
  }
  .hero-content {
    margin-left: 100px;
  }
  .subtitle {
    font-size: 10px;
  }
}

@media (max-width: 435px) {
  .hero-content > h1 {
    font-size: 26px;
    padding-top: 5px;
  }
  .hero-content {
    margin-left: 20px;
  }
  .subtitle {
    font-size: 10px;
    padding-top: 7px;
    display: none;
  }
  .btn {
    padding: 8px 20px;
    font-size: 14px;
    margin-top: 5px;
    height: 30px;
    width: 100px;
    font-size: 10px;
  }

  .container2 {
    height: 200px;
  }

  .welcomeSection {
    padding: 0 50px;
    margin-left: -15px;
    height: 350px;
  }

  .btn-outline {
    margin-top: 20px;
    width: 200px;
  }

  .btn3 {
    height: 40px;
    padding-top: 12.5px;
    width: 130px;
  }

  .btn4 {
    margin-right: 20px;
    margin-top: 40px;
    height: 40px;
    padding-top: 5px;
  }

  .freeItemsContent p {
    margin-left: 20px;
  }
}

@media (max-width: 390px) {
  .churchName2 {
    font-size: 8px;
  }
}
