/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --deep-blue: #1E3A8A;
  --sky-blue: #3B82F6;
  --white: #ffffff;
  --dark: #1F2937;
  --light-bg: #f5f7ff;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--deep-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo img {
  width: 42px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.dropbtn {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HOVER */
.nav-links a:hover,
.dropbtn:hover {
  color: var(--sky-blue);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --deep-blue: #1E3A8A;
  --sky-blue: #3B82F6;
  --white: #ffffff;
  --dark: #1F2937;
  --light-bg: #f5f7ff;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--deep-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo img {
  width: 42px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.dropbtn {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HOVER */
.nav-links a:hover,
.dropbtn:hover {
  color: var(--sky-blue);
}

/* DROPDOWN */
/* DROPDOWN */
.dropdown {
  width: 100%;
   font-weight: 500;
   position: relative;
}

.dropbtn {
  width: 100%;
  padding: 12px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* hidden */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  background: var(--deep-blue); /* 🔥 BLUE instead of white */
  min-width: 220px;
  border-radius: 10px;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* show when active */
.dropdown-menu.show {
  display: block;
}

/* links */
.dropdown-menu a {
  display: block;
  padding: 12px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.1); /* soft hover */
  color: #fff;
}

/* desktop hover only */
@media (max-width: 768px) {

  .dropdown-menu {
    position: static;
    width: 100%;
    background: var(--deep-blue); /* 🔥 keep same blue */
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-menu a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
@media (max-width: 768px) {

  .dropbtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* 🔥 FIX: remove space-between */
    gap: 8px; /* 🔥 controls space between text and arrow */
  }

}


.arrow {
  transition: 0.3s;
}

.dropdown-menu.show + .arrow {
  transform: rotate(180deg);
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}


/* ================= HERO ================= */


/* ================= MAGAZINE ================= */
.mag-section{
  padding:80px 20px;
  max-width:1200px;
  margin:auto;
}

.section-title{
  text-align:center;
  margin-bottom:40px;
  animation: slideUp 0.8s ease;
}

.section-title h2{
  color:#1E3A8A;
  font-size:28px;
}

.mag-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:25px;
}

/* CARD ANIMATION */
.mag-card{
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  transition:0.4s;

  opacity:0;
  transform:translateY(30px);
  animation: cardIn 0.8s ease forwards;
}

.mag-card:nth-child(1){animation-delay:0.2s;}
.mag-card:nth-child(2){animation-delay:0.4s;}
.mag-card:nth-child(3){animation-delay:0.6s;}

.mag-card:hover{
  transform:translateY(-8px);
}

.mag-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.mag-card-content{
  padding:15px;
}

.mag-card-content h3{
  margin-bottom:8px;
}

.mag-card-content p{
  font-size:14px;
  color:#555;
}

/* ================= BUTTONS ================= */
.card-buttons{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.primary{
  background:#3B82F6;
  color:white;
}

.primary:hover{
  background:#1E3A8A;
  transform:scale(1.05);
}

.secondary{
  border:2px solid #3B82F6;
  color:#3B82F6;
}

.secondary:hover{
  background:#3B82F6;
  color:white;
  transform:scale(1.05);
}



/* ================= SEND ARTICLES ================= */
.submit{
  background:linear-gradient(135deg, #1E3A8A, #3B82F6);
  color:white;
  text-align:center;
  padding:80px 20px;

  animation: fadeIn 1.2s ease;
}

.submit h2{
  font-size:28px;
  margin-bottom:10px;
}

.submit p{
  max-width:600px;
  margin:auto;
  opacity:0.9;
}

.emails{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.email-btn{
  background:white;
  color:#1E3A8A;
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  transition:0.3s;
}

.email-btn:hover{
  background:#111827;
  color:white;
  transform:translateY(-3px);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes slideDown{
  from{transform:translateY(-40px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

@keyframes slideUp{
  from{transform:translateY(40px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

@keyframes cardIn{
  to{
    opacity:1;
    transform:translateY(0);
  }
}





/* ================= PRE FOOTER ================= */
.pre-footer {
   background: #1F2937;/* soft black (matches your theme) */
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.pre-left {
  flex: 1;
  min-width: 280px;
}

.pre-left h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.pre-left p {
  color: #d1d5db;
  margin-bottom: 20px;
}

/* FORM */
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.subscribe-form button {
  padding: 10px 15px;
  border: none;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: #1E3A8A;
}


.berean-resources {
    margin-top: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.berean-resources h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.berean-resources h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: #1e66ff;
}

.berean-resources p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resource-links a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-links a:hover {
    color: #1e66ff;
    transform: translateX(5px);
}



/* RIGHT SIDE */
.pre-right {
  flex: 1;
  min-width: 200px;
}

.pre-right h2 {
  margin-bottom: 10px;
  color: #3B82F6;
}

.pre-right a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}

.pre-right a:hover {
  color: #3B82F6;
  padding-left: 5px;
}

/* QUICK LINKS STYLE */
.pre-right a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* LINE BETWEEN LINKS */
  transition: 0.3s;
}

/* REMOVE LAST LINE */
.pre-right a:last-child {
  border-bottom: none;
}

/* ARROW ICON */
.pre-right .arrow {
  color: #3B82F6;
  font-weight: bold;
  font-size: 16px;
}

/* HOVER EFFECT */
.pre-right a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .pre-footer {
    flex-direction: column;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

/* FOOTER */
/* ================= FOOTER ================= */
.footer {
  background: #1E3A8A;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.footer-left p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* RIGHT SIDE SOCIAL LINKS */
.footer-right {
  display: flex;
  gap: 15px;
  margin-right: 40px;
  flex-wrap: wrap;
}

.footer-right .social {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: #3B82F6;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
}
.footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-right .social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
  transform: translateY(-3px);
}

/* ================= BACK TO TOP BUTTON ================= */
#topBtn {
  background: #3B82F6;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;

  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}


/* ICON SIZE */
#topBtn i {
  font-size: 22px;
  font-weight: 700;
}

/* HOVER EFFECT */
#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

.footer {
  background: #1E3A8A;
  color: white;
  padding: 30px 20px;
  position: relative;
}

/* FOOTER RIGHT SIDE */
.footer-right {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* BACK TO TOP INSIDE FOOTER */
#topBtn {
  position: absolute;
  bottom: 10px;   /* VERY BOTTOM */
  right: 10px;    /* FAR RIGHT */

  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;

  background: #3B82F6;
  color: white;

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-blue);
    flex-direction: column;
    display: none;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  
}

.arrow {
  transition: 0.3s;
}

.dropdown-menu.show + .arrow {
  transform: rotate(180deg);
}


/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= PRE FOOTER ================= */
.pre-footer {
   background: #1F2937;/* soft black (matches your theme) */
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.pre-left {
  flex: 1;
  min-width: 280px;
}

.pre-left h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.pre-left p {
  color: #d1d5db;
  margin-bottom: 20px;
}

/* FORM */
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.subscribe-form button {
  padding: 10px 15px;
  border: none;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: #1E3A8A;
}

/* RIGHT SIDE */
.pre-right {
  flex: 1;
  min-width: 200px;
}

.pre-right h2 {
  margin-bottom: 10px;
  color: #3B82F6;
}

.pre-right a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}

.pre-right a:hover {
  color: #3B82F6;
  padding-left: 5px;
}

/* QUICK LINKS STYLE */
.pre-right a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* LINE BETWEEN LINKS */
  transition: 0.3s;
}

/* REMOVE LAST LINE */
.pre-right a:last-child {
  border-bottom: none;
}

/* ARROW ICON */
.pre-right .arrow {
  color: #3B82F6;
  font-weight: bold;
  font-size: 16px;
}

/* HOVER EFFECT */
.pre-right a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .pre-footer {
    flex-direction: column;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

/* FOOTER */
/* ================= FOOTER ================= */
.footer {
  background: #1E3A8A;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.footer-left p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* RIGHT SIDE SOCIAL LINKS */
.footer-right {
  display: flex;
  gap: 15px;
  margin-right: 40px;
  flex-wrap: wrap;
}

.footer-right .social {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: #3B82F6;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
}
.footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-right .social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
  transform: translateY(-3px);
}

/* ================= BACK TO TOP BUTTON ================= */
#topBtn {
  background: #3B82F6;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;

  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}


/* ICON SIZE */
#topBtn i {
  font-size: 22px;
  font-weight: 700;
}

/* HOVER EFFECT */
#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

.footer {
  background: #1E3A8A;
  color: white;
  padding: 30px 20px;
  position: relative;
}

/* FOOTER RIGHT SIDE */
.footer-right {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* BACK TO TOP INSIDE FOOTER */
#topBtn {
  position: absolute;
  bottom: 10px;   /* VERY BOTTOM */
  right: 10px;    /* FAR RIGHT */

  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;

  background: #3B82F6;
  color: white;

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-blue);
    flex-direction: column;
    display: none;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  
}

/* ================= PAGINATION PROFESSIONAL ================= */

.pagination-wrapper {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* CONTAINER */
.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9fafb;
  padding: 10px 15px;
  border-radius: 50px; /* pill background */
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* CIRCLE BUTTON */
.page-btn {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  background: white;
  color: #1E3A8A;
  border: 1px solid #e5e7eb;

  font-size: 14px;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* HOVER */
.page-btn:hover {
  background: #3B82F6;
  color: white;
  border-color: #3B82F6;
  transform: translateY(-3px);
}

/* ACTIVE PAGE */
.page-btn.active {
  background: #3B82F6; /* 🔥 BLUE ACTIVE */
  color: white;
  border-color: #3B82F6;

  font-weight: 600;
  box-shadow: 0 6px 15px rgba(59,130,246,0.4);
}

/* ARROWS */
.page-btn.arrow {
  font-size: 18px;
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
  .pagination {
    padding: 8px 10px;
  }

  .page-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ================= HERO ================= */
.videos-hero {
  background: linear-gradient(rgba(30,58,138,0.8), rgba(30,58,138,0.8)),
              url('../images/Bible.jpg') center/cover;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.videos-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.videos-hero p {
  font-size: 18px;
  color: #e5e7eb;
}


/* ================= SECTION ================= */
.videos-section {
  padding: 80px 20px;
  background: #f5f7ff;
}

/* HEADER */
.videos-header {
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.videos-header h2 {
  color: #1E3A8A;
}

/* FILTER */
.video-filter {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}


/* ================= GRID ================= */
.videos-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}


/* ================= CARD ================= */
.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.video-card:hover {
  transform: translateY(-8px);
}

/* VIDEO FRAME */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}


/* INFO */
.video-info {
  padding: 15px;
}

.video-info h3 {
  font-size: 16px;
  color: #1E3A8A;
  margin-bottom: 5px;
}

.video-info p {
  font-size: 13px;
  color: #6b7280;
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .videos-hero h1 {
    font-size: 28px;
  }

  .videos-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

}


@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-blue);
    flex-direction: column;
    display: none;
    padding: 0;
    gap: 0;
    align-items: stretch; /* IMPORTANT */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .dropbtn {
    width: 100%;
    display: block;
    padding: 18px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    margin: 0;
  }

  /* DROPDOWN WRAPPER */
  .dropdown {
    width: 100%;
  }

}







