body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-8 {
  width: 66.666667%;
  padding: 0 15px;
  box-sizing: border-box;
}

.col-lg-4 {
  width: 33.333333%;
  padding: 0 15px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .col-lg-8,
  .col-lg-4 {
    width: 100%;
  }
}

.navbar {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a1a;
}

.nav-logo img {
  height: 45px;
}

.nav-text {
  display: flex;
  flex-direction: column;
}

.nav-text strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.nav-text span {
  font-size: 0.8rem;
  color: #c52810;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c52810;
}

.nav-btn {
  background: #c52810;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.3s !important;
}

.nav-btn:hover {
  background: #a3200d;
}

@media (max-width: 600px) {
  .nav-text {
    display: none;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

.banner {
  background: linear-gradient(135deg, #1f0805 0%, #4a0e06 100%);
  padding: 4rem 0;
  text-align: center;
  color: white;
}

.banner h1 {
  margin: 0;
  font-size: 2.5rem;
}

.newsSection {
  padding: 5rem 0;
  flex: 1;
}

.newsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.newsCard {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.newsCard:hover {
  transform: translateY(-5px);
}

.imageContainer {
  position: relative;
  height: 200px;
  background-color: #e0e0e0;
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
  opacity: 1;
}

.newsImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categoryBadge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #c52810;
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.newsContent {
  padding: 20px;
}

.dateRow {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.newsTitle {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.newsTitle a {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.2s;
}

.newsTitle a:hover {
  color: #c52810;
}

.newsExcerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.readMoreBtn {
  text-decoration: none;
  color: #c52810;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detailsSection {
  padding: 5rem 0;
  background-color: #fafafa;
  flex: 1;
}

.articleContainer {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.mainImageWrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #e0e0e0;
}

.mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categoryTag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #c52810;
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.articleHeader {
  padding: 2rem 2.5rem 1rem;
}

.dateText {
  color: #c52810;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.articleTitle {
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.articleBody {
  padding: 0 2.5rem 2.5rem;
}

.articleBody p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sidebar {
  padding-left: 1rem;
}

.sidebarWidget {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.widgetTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.titleLine {
  width: 25px;
  height: 3px;
  background-color: #c52810;
  display: inline-block;
}

.popularList {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.popularItem {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.popularItem:hover {
  transform: translateX(5px);
}

.popularImgBox {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.popularImgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popularInfo h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 8px 0;
  transition: color 0.3s;
}

.popularItem:hover .popularInfo h4 {
  color: #c52810;
}

.popularInfo span {
  font-size: 0.8rem;
  color: #888;
}

.footer {
  margin-top: auto;
  background: url("https://dropimg.onyekachi.dev/qa3xoupmngktvl0mkqru")
    no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
}

.mainFooter {
  position: relative;
}

.cover {
  width: 100%;
  padding: 80px 0 40px;
  height: 100%;
  background: rgba(0, 0, 0, 0.864);
  z-index: 1;
}

.footerContent {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.churchSection {
  max-width: 500px;
}

.logoArea {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.logoContainer {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 90px;
  height: 90px;
}

.churchInfo h3 {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.churchTagline {
  margin: 0;
  font-size: 0.9rem;
  color: #c52810;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.churchDescription {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 30px 0;
}

.socialMedia {
  display: flex;
  gap: 15px;
}

.socialLink {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.socialLink:hover {
  background: #c52810;
  border-color: #c52810;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 40, 16, 0.4);
}

.linksSection {
  min-width: 200px;
}

.sectionTitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 25px 0;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.sectionTitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #c52810;
  border-radius: 1px;
}

.linksList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.linksList li {
  margin-bottom: 12px;
}

.linksList a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: "Poppins", sans-serif !important;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.linksList a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c52810;
  transition: width 0.3s ease;
}

.linksList a:hover {
  color: white;
  transform: translateX(5px);
}

.linksList a:hover::before {
  width: 100%;
}

.contactSection {
  min-width: 350px;
}

.contactInfo {
  margin-bottom: 35px;
}

.contactItem {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.iconWrapper {
  width: 40px;
  height: 40px;
  background: rgba(197, 40, 16, 0.1);
  border: 1px solid rgba(197, 40, 16, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c52810;
  flex-shrink: 0;
}

.contactItem p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.bottomFooter {
  background: rgba(15, 15, 15, 0.926);
  padding: 25px 0;
}

.bottomContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1200px) {
  .footerContent {
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .cover {
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.922);
  }

  .footerContent {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .churchSection {
    grid-column: span 2;
    max-width: none;
  }

  .logoArea {
    justify-content: center;
    text-align: center;
  }

  .churchDescription {
    text-align: center;
  }

  .socialMedia {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cover {
    padding: 50px 0 25px;
  }

  .footerContent {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .churchSection {
    grid-column: span 1;
  }

  .logoArea {
    flex-direction: column;
    gap: 15px;
  }

  .contactItem {
    justify-content: center;
    text-align: left;
  }

  .bottomContent {
    flex-direction: column;
    gap: 15px;
  }

  .contactInfo {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .logoArea {
    gap: 10px;
  }

  .churchInfo h3 {
    font-size: 1.2rem;
  }

  .socialMedia {
    gap: 10px;
  }

  .socialLink {
    width: 40px;
    height: 40px;
  }
}
