/*
Theme Name: Modern Church
Theme URI: http://example.com/
Author: Arnold Kisa
Author URI: http://example.com/
Description: A modern church WordPress theme.
Version: 1.0
*/
html {
    scroll-behavior: smooth;
  }
  
  .navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 95%;
    background: rgba(24, 18, 43, 0.85);
    box-shadow: 0 2px 16px #00000033;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0.7;
  }
  .navbar-fixed:hover {
    background: rgba(24, 18, 43, 0.98);
    opacity: 1;
  }
  .navbar-fixed.scrolled {
    opacity: 0.85;
  }
  .navbar-fixed.scrolled:hover {
    background: rgba(24, 18, 43, 0.98);
    opacity: 1;
  }
  .navbar-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: relative;
    gap: 0;
  }
  .logo-text {
    font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffe066;
    letter-spacing: 1px;
  }
  .navbar-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  .navbar-links a {
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    transition: background 0.2s, color 0.2s;
    position: relative;
  }
  .navbar-links a:hover, .navbar-links a.active {
    color: #ffe066;
    background: rgba(255, 224, 102, 0.08);
  }
  
  /* Add top padding to sections so they're not hidden under navbar */
  #home, #livestream, #events, #welcome, #ministries, #contact {
    scroll-margin-top: 20px;
  }
  
  .contact-section {
    background: linear-gradient(120deg, #2a2342 0%, #231a36 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
    padding: 4rem 0 3rem 0;
    text-align: center;
  }
  .contact-content {
    max-width: 500px;
    margin: 0 auto;
    color: #fff;
  }
  .contact-content h2 {
    color: #ffe066;
    margin-bottom: 1rem;
  }
  .contact-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  body {
    background: linear-gradient(120deg, #2a2342 0%, #18122b 100%);
    color: #e0e0e0;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
    font-weight: 700;
    color: #ffe066;
    letter-spacing: 1px;
    margin-top: 0;
  }
  
  .gradient-text {
    background: linear-gradient(90deg, #ffe066, #bfa100, #fffbe6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    z-index: 2;
  }
  
  .hero-3d {
    position: relative;
    min-height: 70%;
    background: linear-gradient(120deg, #2a2342 0%, #3a2d5c 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero-bg-shape {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 60% 40%, #ffe06633 0%, #18122b 100%);
    filter: blur(40px);
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite alternate;
  }
  @keyframes bgPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
  }
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
  }
  .hero-church-name {
    margin-bottom: 1.2rem;
  }
  .hero-content h1 {
    margin-bottom: 1.2rem;
  }
  .hero-glow {
    display: block;
    width: 120px;
    height: 24px;
    margin: 0 auto;
    background: radial-gradient(ellipse at center, #ffe06688 0%, transparent 80%);
    filter: blur(8px);
    margin-top: -20px;
  }
  .hero-mission {
    font-size: 1.3rem;
    color: #fffbe6;
    margin-bottom: 2rem;
    margin-top: 1.2rem;
    text-shadow: 0 2px 16px #ffe06622;
  }
  .hero-btn {
    background: linear-gradient(90deg, #ffe066 60%, #fffbe6 100%);
    color: #18122b;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 24px;
    padding: 0.9rem 2.2rem;
    box-shadow: 0 2px 16px #ffe06644;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    position: relative;
    z-index: 2;
  }
  .hero-btn:hover {
    background: linear-gradient(90deg, #bfa100 60%, #ffe066 100%);
    color: #fff;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 4px 24px #ffe06688;
  }
  .hero-3d-elements .floating-orb {
    position: absolute;
    right: 10%;
    top: 55%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffe066 60%, #fffbe6 100%);
    border-radius: 50%;
    box-shadow: 0 0 32px #ffe06688;
    animation: floatY 4s ease-in-out infinite alternate;
    z-index: 1;
  }
  .hero-3d-elements .floating-cross {
    position: absolute;
    left: 8%;
    bottom: 18%;
    width: 60px;
    height: 60px;
    background: none;
    z-index: 1;
  }
  .hero-3d-elements .floating-cross::before,
  .hero-3d-elements .floating-cross::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, #ffe066 60%, #fffbe6 100%);
    border-radius: 8px;
  }
  .hero-3d-elements .floating-cross::before {
    width: 16px;
    height: 60px;
    left: 22px;
    top: 0;
  }
  .hero-3d-elements .floating-cross::after {
    width: 60px;
    height: 16px;
    left: 0;
    top: 22px;
  }
  @keyframes floatY {
    0% { transform: translateY(0);}
    100% { transform: translateY(-30px);}
  }
  .hero-diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    z-index: 3;
    display: block;
  }
  
  .section-diagonal {
    position: relative;
    background: linear-gradient(120deg, #231a36 0%, #2a2342 100%);
    margin: 0;
    padding: 4rem 0 3rem 0;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
  }
  
  .livestream-bg-accent {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 700px;
    height: 405px;
    background: radial-gradient(circle at 50% 50%, #ffe06633 0%, #231a36 80%);
    filter: blur(40px);
    z-index: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .livestream-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 405px;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
  }
  .livestream-card {
    background: rgba(34, 24, 56, 0.98);
    border-radius: 20px;
    box-shadow: 0 8px 48px #ffe06644, 0 2px 16px #ffe06622;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    position: relative;
    overflow: visible;
    min-width: 405px;
    max-width: 720px;
    z-index: 1;
  }
  .livestream-info-below {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
  }
  .livestream-3d {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .livestream-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe06688 0%, transparent 80%);
    filter: blur(12px);
    z-index: 0;
    animation: pulseGlow 2s infinite alternate;
  }
  @keyframes pulseGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
  }
  .livestream-play {
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 16px #ffe06644;
    border-radius: 50%;
    background: #ffe066;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .livestream-play:hover {
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 4px 32px #ffe06688;
    background: #fffbe6;
  }
  .livestream-live {
    display: inline-block;
    background: #d90429;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 14px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #d9042944;
    margin-left: 0.7rem;
    vertical-align: middle;
    animation: livePulse 1.2s infinite alternate;
  }
  @keyframes livePulse {
    0% { box-shadow: 0 0 8px #d90429; opacity: 1; }
    100% { box-shadow: 0 0 24px #d90429; opacity: 0.85; }
  }
  .livestream-info {
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    min-width: 220px;
  }
  .livestream-subtitle {
    color: #ffe066;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
    font-weight: 600;
    letter-spacing: 1px;
  }
  .live-viewers {
    color: #ffe066;
    font-weight: 700;
    margin-left: 0.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #ffe066;
    text-align: center;
    letter-spacing: 2px;
  }
  .events-timeline {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
  }
  .event-card {
    background: #231a36;
    border-radius: 18px;
    box-shadow: 0 2px 16px #ffe06622;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 260px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 2;
  }
  .event-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #ffe06644;
  }
  .event-overlap {
    margin-top: -1.5rem;
  }
  .event-date {
    background: linear-gradient(135deg, #ffe066 60%, #fffbe6 100%);
    color: #18122b;
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 12px;
    width: 54px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px #ffe06644;
    margin-right: 1rem;
    margin-top: -2.2rem;
    z-index: 3;
    position: relative;
  }
  .event-date span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #bfa100;
    margin-top: -4px;
  }
  .event-details h3 {
    color: #ffe066;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  .event-location {
    color: #bfa100;
    font-size: 0.98rem;
    margin-top: 0.7rem;
  }
  
  .welcome-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(120deg, #2a2342 0%, #231a36 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
  }
  .welcome-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* 3D/abstract shapes for welcome section */
  /* .welcome-orb, .welcome-cross, .welcome-abstract styles removed */
  
  .about-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(120deg, #2a2342 0%, #231a36 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
  }
  .about-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-shape {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .about-message {
    flex: 1 1 350px;
    color: #fff;
    min-width: 260px;
  }
  .pastor-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 16px #ffe06644;
    object-fit: cover;
    background: #fffbe6;
  }
  .welcome-message {
    flex: 1 1 350px;
    color: #fff;
    min-width: 260px;
  }
  .pastor-signature {
    margin-top: 1.2rem;
    color: #ffe066;
    font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
    font-size: 1.1rem;
  }
  
  .ministries-section {
    padding: 2rem 0 1rem 0;
    background: linear-gradient(120deg, #231a36 0%, #2a2342 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
    text-align: center;
  }
  .ministries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
  }
  .ministry-card {
    background: #231a36;
    border-radius: 18px;
    box-shadow: 0 2px 16px #ffe06622;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 150px;
    width: 260px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 2;
  }
  .ministry-card:hover, .micro-hover:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #ffe06644;
    background: linear-gradient(120deg, #2a2342 0%, #231a36 100%);
  }
  .ministry-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    color: #ffe066;
    text-shadow: 0 2px 8px #ffe06644;
    transition: color 0.2s, text-shadow 0.2s;
  }
  .ministry-card:hover .ministry-icon {
    color: #fffbe6;
    text-shadow: 0 4px 16px #ffe06688;
  }
  .footer-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
    border-radius: 0 0 16px 16px;
  }
  .footer-col {
    flex: 1 1 260px;
    min-width: 220px;
    margin-bottom: 1.5rem;
  }
  .footer-col h4 {
    color: #ffe066;
    margin-bottom: 0.7rem;
  }
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-col ul li {
    margin-bottom: 0.5rem;
  }
  .footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover {
    color: #ffe066;
  }
  .footer-social {
    margin-top: 1rem;
    font-family: 'FontAwesome', Arial, sans-serif;
    font-size: 1.3rem;
    display: flex;
    gap: 1rem;
  }
  .footer-social a {
    color: #ffe066;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-social a:hover {
    color: #fff;
  }
  .footer-social a {
    margin: 0 2.5rem;
    display: inline-block;
  }
  .footer-social img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    transition: transform 0.2s;
  }
  .footer-social img:hover {
    transform: scale(1.12) rotate(-4deg);
  }
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.2rem;
    justify-content: center;
  }
  .newsletter-form input[type="email"] {
    background: #231a36;
    border: 1px solid #ffe066;
    color: #fff;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    outline: none;
    width: 60%;
    min-width: 120px;
  }
  .newsletter-form button {
    background: #ffe066;
    color: #18122b;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.3rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .newsletter-form button:hover {
    background: #bfa100;
    color: #fff;
  }
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    color: #fff;
    font-size: 0.98rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  /* Minimal Footer Styles */
  .footer-container.minimal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0 0.5rem 0;
    background: none;
    box-shadow: none;
    gap: 0;
  }
  .footer-main {
    text-align: center;
  }
  .footer-tagline {
    color: #fffbe6;
    font-size: 1.05rem;
    margin: 0.5rem 0 1rem 0;
  }
  .footer-social {
    margin-top: 0.5rem;
    font-size: 1.3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  .footer-bottom {
    margin-top: 1rem;
    text-align: center;
    color: #fff;
    font-size: 0.98rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  /* Logo in navbar */
  .navbar-logo {
    max-height: 50px;
    vertical-align: middle;
    margin-right: 20px;
  }
  
  /* Weekly Program Section Styles */
  .weekly-program-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(120deg, #231a36 0%, #2a2342 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    box-shadow: 0 8px 32px #00000033;
    z-index: 2;
    text-align: center;
  }
  .weekly-program-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.2rem;
    margin-top: 2rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    scrollbar-width: none; /* Firefox */
  }
  .weekly-program-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .weekly-program-card {
    display: flex;
    min-width: 200px;
    max-width: 260px;
    width: 260px;
    vertical-align: top;
    white-space: normal;
    background: #231a36;
    border-radius: 18px;
    box-shadow: 0 2px 16px #ffe06622;
    padding: 1.5rem 1rem 1.2rem 1rem;
    color: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 2;
    text-align: center;
  }
  .weekly-program-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #ffe06644;
  }
  .weekly-day {
    background: linear-gradient(135deg, #ffe066 60%, #fffbe6 100%);
    color: #18122b;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 12px;
    padding: 0.5rem 1.1rem;
    box-shadow: 0 2px 12px #ffe06644;
    margin-bottom: 0.6rem;
    align-self: center;
    text-align: center;
  }
  .weekly-details {
    text-align: center;
    width: 100%;
  }
  .weekly-details h3 {
    color: #ffe066;
    font-size: 1.08rem;
    margin-bottom: 0.25rem;
  }
  .weekly-details p {
    color: #fffbe6;
    font-size: 1.01rem;
    margin: 0;
  }
  /* Remove custom scrollbar */
  .weekly-program-list::-webkit-scrollbar {
    display: none;
  }
  
  /* Contact Card Styles */
  .contact-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(34, 24, 56, 0.97);
    border-radius: 24px;
    box-shadow: 0 4px 32px #ffe06622;
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    color: #fff;
  }
  .contact-card h2 {
    color: #ffe066;
    margin-bottom: 1.2rem;
  }
  .contact-card-flex {
    display: flex;
  
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 2rem;
  }
  .contact-info {
    flex: 1 1 240px;
    min-width: 200px;
    margin-right: 1.5rem;
  }
  .contact-form-area {
    flex: 1 1 240px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
  }
  .contact-divider {
    width: 2px;
    background: linear-gradient(180deg, #ffe066 0%, #fffbe6 100%);
    min-height: 140px;
    align-self: stretch;
    border-radius: 2px;
    opacity: 0.5;
  }
  .contact-info p {
    margin: 0.7rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .contact-icon {
    font-size: 1em; 
    color: #ffe066;
    
  }
  
  .hero-church-name {
    font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffe066;
    letter-spacing: 2px;
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 12px #18122b44;
  }
  
  .livestream-video-wrapper {
    position: relative;
    width: 720px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .livestream-video {
    width: 100%;
    height: 405px;
    border-radius: 18px;
    box-shadow: 0 2px 16px #ffe06644;
    border: none;
    background: #18122b;
    display: block;
  }
  
  
  