* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #f7fafc;
  padding-top: 70px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
}

.nav-logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  text-decoration: none;
}

.logo-img {
  height: 35px; /* adjust as needed */
  margin-right: 10px; /* spacing between logo and text */
}
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #667eea;
}

@media (max-width: 768px) {
  .nav-logo a span {
    display: none;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: transparent;
  border: 2px solid transparent;
  color: #2d3748;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.dropdown-btn:hover {
  background: #f0f4ff;
  border-color: #667eea;
  color: #667eea;
}

/* Special styling for language dropdown */
.dropdown:first-of-type .dropdown-btn {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  border: 2px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  font-weight: 700;
}

.dropdown:first-of-type .dropdown-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.2)
  );
  border-color: #667eea;
}

.dropdown-btn i:last-child {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-btn i:last-child {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  color: #2d3748;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 15px;
}

.dropdown-content a:first-child {
  border-radius: 12px 12px 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 12px 12px;
}

.dropdown-content a:hover {
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.05)
  );
  padding-left: 22px;
  color: #667eea;
  font-weight: 600;
}

.dropdown-content a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

.dropdown-content a.active:hover {
  padding-left: 18px;
}

.dropdown-content a i {
  width: 18px;
  text-align: center;
  font-size: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #2d3748;
  cursor: pointer;
}

/* Header */
header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  opacity: 0.95;
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}

/* Social Links in Header */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.social-links a:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
}

/* Bible Verse Section */
.verse-section {
  background: white;
  padding: 45px 30px;
  margin: -40px auto 50px;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
  position: relative;
  z-index: 1;
  border-left: 5px solid #667eea;
}

.verse {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: #2d3748;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 20px;
  font-weight: 400;
}

.verse-reference {
  text-align: center;
  color: #667eea;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Sections */
.section {
  padding: 60px 0;
}

main {
  padding: 20px 0 60px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #2d3748;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #718096;
  margin-bottom: 60px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.card h3 {
  text-align: center;
  color: #2d3748;
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
}

.card-time {
  text-align: center;
  color: #667eea;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
}

.card-details {
  text-align: center;
  color: #718096;
  line-height: 1.8;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.card-details a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.card-details a:hover {
  border-bottom-color: #667eea;
}

/* Video Section */
.video-section {
  background: white;
  padding: 60px 30px;
  border-radius: 16px;
  margin: 40px 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .video-section {
    padding: 20px 15px;
    margin: 20px 0;
    border-radius: 8px;
  }

  .video-container {
    border-radius: 8px;
  }

  .video-container video,
  .video-container iframe {
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* Content Section */
.content-section {
  background: white;
  padding: 60px 30px;
  border-radius: 16px;
  margin: 40px 0;
}

.content-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
}

.content-text p {
  margin-bottom: 20px;
}

/* Beliefs Grid */
#beliefs {
  position: relative;
  padding-bottom: 80px;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.belief-card {
  text-align: center;
  padding: 30px 20px;
}

.belief-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.belief-card h3 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.belief-card p {
  color: #718096;
  line-height: 1.7;
}

.learn-more-btn {
  position: absolute;
  bottom: 30px;
  right: 40px;
  background: #667eea;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: #764ba2;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .learn-more-btn {
    position: static;
    display: block;
    margin: 40px auto 0;
    text-align: center;
  }
}

/* Youth Section */
.youth-section {
  margin: 60px 0;
}

.youth-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 60px 50px;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  text-align: left;
}

.youth-logo-container img {
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.youth-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.youth-socials {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.youth-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.youth-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.youth-socials a {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.youth-socials a:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .youth-banner {
    flex-direction: column;
    text-align: center;
  }

  .youth-content {
    align-items: center;
  }

  .youth-socials {
    justify-content: center;
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #667eea;
}

.footer-section p {
  margin-bottom: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.service-time {
  font-weight: 600;
  color: #667eea;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #667eea;
  transform: translateY(-3px);
}

.just-youth-link {
  margin-top: 15px;
}

.just-youth-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102, 126, 234, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.just-youth-link a:hover {
  background: #667eea;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.95rem;
}

/* Mobile Optimizations */
@media (max-width: 968px) {
  body {
    padding-top: 70px;
  }

  .nav-logo a span {
    display: inline;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 85vw;
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
    flex-direction: column;
    padding: 15px 0;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    -webkit-overflow-scrolling: touch;
    display: flex;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu.active::before {
    content: "";
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    width: calc(100% - 24px);
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: block;
    font-size: 15px;
    color: #1a202c;
    font-weight: 500;
    margin: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 5px;
  }

  .nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
    transform: translateX(-3px);
  }

  .dropdown {
    width: 100%;
    border-top: none;
    margin: 0;
    padding: 0;
  }

  .dropdown:first-of-type {
    order: 10;
    margin-top: auto;
    border-top: 2px solid rgba(102, 126, 234, 0.15);
    padding-top: 8px;
    margin-bottom: 0;
  }

  .dropdown-btn {
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 8px;
    background: white;
    margin: 0px;
    border: none;
    font-size: 15px;
    color: #1a202c;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.12);
  }

  .dropdown-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
    transform: translateX(-3px);
  }

  .dropdown:first-of-type .dropdown-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
    margin: 0;
  }

  .dropdown:first-of-type .dropdown-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b3d8f 100%);
    box-shadow: 0 5px 18px rgba(102, 126, 234, 0.4);
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dropdown.active .dropdown-content {
    max-height: 600px;
  }

  .dropdown-content a {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    background: white;
    margin: 0;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.1);
  }

  .dropdown-content a:hover {
    background: #f0f4ff;
    color: #667eea;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    transform: translateX(-2px);
  }

  .dropdown-content a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
  }

  .dropdown-content a.active:hover {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  }

  .video-container iframe {
    height: 300px;
  }

  .youth-content h2 {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  header {
    padding: 60px 20px 50px;
  }

  .verse-section {
    margin: -30px 20px 40px;
    padding: 35px 25px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card {
    padding: 35px 25px;
  }

  .nav-menu {
    max-width: 100vw;
  }

  .mobile-menu-btn {
    font-size: 1.3rem;
  }

  .navbar {
    height: 65px;
  }

  .nav-menu {
    top: 65px;
    height: calc(100vh - 65px);
  }

  .nav-container {
    padding: 10px 15px;
  }

  .logo-img {
    height: 28px;
    margin-right: 8px;
  }

  .nav-logo a {
    font-size: 1.1rem;
  }

  .nav-link {
    font-size: 14px;
  }

  .dropdown-btn {
    font-size: 14px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.card-icon {
  animation: float 3s ease-in-out infinite;
}

.card:nth-child(2) .card-icon {
  animation-delay: 0.5s;
}

.card:nth-child(3) .card-icon {
  animation-delay: 1s;
}

/* Smooth transitions for mobile menu */
@media (max-width: 968px) {
  * {
    transition: background-color 0.2s ease;
  }

  .nav-menu {
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .nav-logo a span {
    font-size: 1rem;
  }

  .logo-img {
    height: 25px;
    margin-right: 6px;
  }

  h1 {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  header {
    padding: 50px 15px 40px;
  }

  .verse-section {
    margin: -25px 15px 30px;
    padding: 25px 20px;
  }

  .verse {
    font-size: 0.95rem;
  }

  .verse-reference {
    font-size: 0.85rem;
  }

  .cards-grid {
    gap: 15px;
  }

  .card {
    padding: 25px 20px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav-menu {
    max-width: 95vw;
    padding: 10px 0;
  }

  .nav-link {
    padding: 10px 18px;
    font-size: 15px;
    margin: 3px 10px;
  }

  .dropdown-btn {
    padding: 10px 18px;
    font-size: 15px;
    margin: 3px 10px;
  }

  .dropdown-content a {
    padding: 8px 16px;
    margin: 2px 10px;
  }
}

/* Mobile menu styling improvements */
@media (max-width: 968px) {
  .dropdown:nth-child(5) {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .dropdown-btn i:first-child {
    color: white;
    font-size: 18px;
    width: 20px;
    text-align: center;
  }

  .dropdown:first-of-type .dropdown-btn i:first-child {
    color: white;
  }

  .dropdown-btn i:last-child {
    color: currentColor;
    margin-left: auto;
  }

  .dropdown-content a i {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
  }

  .dropdown-content a:hover i {
    color: inherit;
  }

  .dropdown-content a.active i {
    color: white;
  }

  /* warning information */

  .warning-info {
    margin: 0;
    font-size: 1rem;
  }
}
.zontainer {
  max-width: 800px;
  margin: 20px auto;
  background: #ffffff;
  border: 1px solid #ffb3b3;
  padding: 15px 20px;
  border-radius: 8px;
  color: #cc0000;
  font-weight: 600;
  justify-content: center;
  margin-bottom: 25px;
  margin-top: -5px;
  text-align: center;
}
