/* 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 ================= */
.hero {
  position: relative;
  background: 
   linear-gradient(rgba(30,58,138,0.7), rgba(30,58,138,0.7)),
   url('../images/Plan1.jpg') center/cover no-repeat;
  text-align: center;
  padding: 120px 20px;
  color: #ffffff;
  overflow: hidden;
}

/* DARK OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

/* KEEP TEXT ABOVE OVERLAY */
.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #3B82F6;
}

.hero p {
  margin-top: 10px;
  font-size: 18px;
  color: white; /* softer white */
}


.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero-explain {
  margin-top: 15px;
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons {
  position: relative;
  z-index: 2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.reading-system{
  padding:80px 20px;
  max-width:900px;
  margin:auto;
  text-align:center;
}

.progress-container{
  width:100%;
  height:12px;
  background:#e5e7eb;
  border-radius:20px;
  margin:20px 0;
  overflow:hidden;
}

.progress-bar{
  height:100%;
  width:0%;
  background:#3B82F6;
  transition:0.4s;
}

.today-box{
  background:#1E3A8A;
  color:white;
  padding:20px;
  border-radius:10px;
  margin:20px 0;
}

.tracker{
  display:flex;
  flex-direction:column;
  gap:10px;
  text-align:left;
  margin-top:20px;
}

.tracker label{
  background:#f5f7ff;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
  transition:0.3s;
}

.tracker label:hover{
  transform:translateX(5px);
}

.verse-box{
  margin-top:30px;
  padding:20px;
  background:#111827;
  color:white;
  border-radius:10px;
}

.verse-box button{
  margin-top:10px;
  padding:10px 15px;
  border:none;
  background:#3B82F6;
  color:white;
  border-radius:6px;
  cursor:pointer;
}

.verse-box button:hover{
  background:#1E3A8A;
}


/* ================= SECTIONS ================= */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: var(--deep-blue);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* ================= MAGAZINE SECTION ================= */
.magazine {
  padding: 80px 20px;
  background: #f5f7ff;
}

/* HEADER (TITLE + VIEW ALL) */
.mag-header {
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;

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

  animation: fadeDown 0.8s ease;
}

.mag-header h2 {
  color: #1E3A8A;
  font-size: 28px;
}

.view-all {
  text-decoration: none;
  font-size: 14px;
  color: #3B82F6;
  transition: 0.3s;
}

.view-all:hover {
  color: #1E3A8A;
  transform: translateX(5px);
}

/* MAIN CONTAINER */
.magazine-container {
  max-width: 1200px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* IMAGE */
.magazine-image {
  flex: 1;
  text-align: center;

  animation: fadeLeft 1s ease;
}

.magazine-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.magazine-image img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* CONTENT */
.magazine-content {
  flex: 1;
  animation: fadeRight 1s ease;
}

.magazine-content p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 25px;
}

/* BUTTONS */
.mag-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

/* PRIMARY */
.btn.primary {
  background: #3B82F6;
  color: white;
}

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

/* SECONDARY */
.btn.secondary {
  border: 2px solid #3B82F6;
  color: #3B82F6;
}

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

/* ================= ANIMATIONS ================= */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

  .magazine-container {
    flex-direction: column;
    text-align: center;
  }

  /* IMAGE ON TOP */
  .magazine-image {
    order: -1;
  }

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

  .mag-buttons {
    justify-content: center;
  }
}


/* ================= 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;
}


/* ================= SECTIONS ================= */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: var(--deep-blue);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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


/* ================= 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;
  }

  
}


.section-title {
  text-align: center;
  margin: 30px 0;
  font-size: 24px;
  color: #0b3d91;
}

/* PROGRESS */
.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.progress-container {
  flex: 1;
  height: 10px;
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0b3d91, #2a6df5);
  transition: 0.3s;
}

.progress-badge {
  background: #0b3d91;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* TODAY BOX */
.today-box {
  background: #f5f7ff;
  border-left: 5px solid #0b3d91;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* TRACKER CARDS */
.tracker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: 0.2s;
}

.day-card:hover {
  transform: translateX(4px);
}

.day-card strong {
  display: block;
  color: #0b3d91;
}

.day-card span {
  font-size: 13px;
  color: #555;
}

/* VERSE BOX */
.verse-box {
  margin-top: 25px;
  background: #0b3d91;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.verse-box button {
  margin-top: 10px;
  background: white;
  color: #0b3d91;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.daily-readings {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.reading-card {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.reading-card h3 {
  color: #0b3d91;
}

.reading-card a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  background: #0b3d91;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
}

.today-box {
  background: linear-gradient(135deg, #0b3d91, #1e5bd7);
  color: #ffffff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.25);
}

.today-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.today-header h3 {
  margin: 0;
  font-size: 20px;
}

.today-tag {
  font-size: 12px;
  background: rgba(255,255,255,0.2);
  padding: 5px 10px;
  border-radius: 20px;
}

.today-books {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-pill {
  background: rgba(255,255,255,0.15);
  padding: 12px 15px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.book-pill:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.25);
}

.book-name {
  font-weight: 600;
  font-size: 16px;
}

.book-passage {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 3px;
}

.today-message {
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.9;
  font-style: italic;
}

.empty-state {
  text-align: center;
  opacity: 0.8;
}


.readings-section {
  padding: 60px 15px;
  background: #f5f7ff;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 28px;
  color: #1E3A8A;
  margin-bottom: 25px;
}

/* ✅ FULL WIDTH ON LAPTOP */
.readings-container {
  width: 100%;
  max-width: 1200px;   /* wider for laptop */
  margin: auto;
}

/* CARD */
.reading-card {
  background: #fff;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* TITLE */
.reading-card h3 {
  color: #1E3A8A;
  margin-bottom: 15px;
  font-size: 22px;
}

/* VERSES */
.verses {
  width: 100%;
}

/* ✅ BETTER READING EXPERIENCE */
.verses p {
  max-width: 900px;     /* keeps text readable */
  margin: 0 auto 10px;  /* center nicely */
  font-size: 17px;
  line-height: 1.8;
}

/* AUDIO BUTTON */
.tts-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 18px;
  border: none;
  background: #1E3A8A;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.tts-btn:hover {
  background: #162c6b;
}

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

  .readings-section {
    padding: 40px 10px;
  }

  .section-title {
    font-size: 22px;
  }

  .reading-card {
    padding: 18px;
    border-radius: 10px;
  }

  .reading-card h3 {
    font-size: 18px;
  }

  .verses p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;   /* full width on mobile */
  }

  .tts-btn {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
}


@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%;
  }

}
