﻿/* ================= GENERAL STYLES ================= */
:root {
  --primary: #8403fc;
  --secondary: #4c019a;
  --dark: #18003a;
  --white: #ffffff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f8f9fb;
  margin: 0;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(38, 38, 39, 0.6);
  border-bottom: 1px solid rgba(132, 3, 252, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled {
  background: rgba(17, 11, 29, 0.9);
  box-shadow: 0 18px 40px rgba(24, 0, 58, 0.08);
  border-bottom-color: rgba(132, 3, 252, 0.26);
}

.nav-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
}

.nav {
  display: flex;
  gap: 35px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
/* ================= HERO SECTION ================= */
@keyframes popInFromBelow {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* animation for hero title popping in from its baseline */
@keyframes popInFromLine {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  60% {
    opacity: 1;
    transform: scaleY(1.2);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* bouncing animation for down icon */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 150px 20px 120px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 7, 18, 0.22) 0%, rgba(9, 7, 18, 0.58) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 150px;
  font-weight: 700;
  margin: 0 0 20px 0;
  font-family: 'Playfair Display', serif;
  white-space: nowrap;
  opacity: 0;
  transform-origin: bottom center;
  animation: popInFromLine 0.8s ease-out 0.2s forwards;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 30px 0;
  font-family: 'Montserrat', sans-serif;
  opacity: 1;
}

.hero-subtile {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 30px 0;
  font-family: 'Montserrat', sans-serif;
  opacity: 1;
}

.bounce-icon {
  position: absolute;
  bottom: 30px;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-btn {
  background: white;
  color: #667eea;
  padding: 12px 40px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* ================= SECTION ================= */
.events-section {
  padding: 60px 0;
}

.section-title {
  font-family: 'Anta', sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* ================= GRID ================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* ================= CARD ================= */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  cursor: pointer;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ================= IMAGE ================= */
.event-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= CONTENT ================= */
.event-content {
  padding: 20px;
}

.event-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-location {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

.event-meta {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}





/* ... [Keep all your existing CSS above, then update these specific sections] ... */

/* 1. LAYER FIX: Ensure form sits ABOVE the event modal */
.form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Higher than event-modal (1000) */
}

/* 2. CLOSE BUTTON FIX: Top-left and pointer cursor */
.close-form {
    position: absolute;
    top: 15px;
    left: 15px; 
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer; /* Fixes the 'text cursor' issue */
    line-height: 1;
    z-index: 2001;
}

/* 3. FONT FIX: Matching the webpage style */
.form-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.form-card h2 {
    font-family: 'Lora', serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}
.form-subtext{
    color:#777;
    font-size:14px;
    margin-bottom:25px;
}

/* Styling the inputs */
.form-group {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #8548c7;
    outline: none;
} 

/* Styling the submit button */
#submitAttendance {
    width: 100%;
    padding: 14px;
    background: #8548c7; /* Matching your calendar theme */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#submitAttendance:hover {
    background: #6a3a9e;
    transform: translateY(-2px);
}
.submit-btn {
    font-family: 'Poppins', sans-serif; /* Matches body */
}

/* ================= CALENDAR ================= */

.calendar-section {
    padding: 40px 0;
}

.calendar-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.calendar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-info img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-left: 65px;
}

.calendar-info h3 {
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Lora', serif;
    letter-spacing: 0.5px;
}

.calendar-info p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    text-align: left;
    font-family: 'Lora', serif;
    font-weight: 400;
}

.calendar {
    flex: 1;
    background: #f3f4f8;
    width: 100%;
    padding: 20px;
    border-radius: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 {
    font-weight: 600;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.calendar-days,
.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-days div {
    font-weight: 600;
    font-size: 14px;
    padding: 5px 0;
}

.calendar-dates div {
    padding: 10px 0;
    margin: 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.calendar-dates div:hover {
    background: #ddd;
}

/* Highlighted Event Dates */
.event-date {
    background: #8548c7;
    color: white;
}

/* Today */
.today {
    border: 2px solid #8548c7;
}

/* ================= MODAL STYLES ================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
}

.modal-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 540px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.modal-body h3 {
    margin: 6px 0 8px 0;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 80px;
        right: -100%;
        background: rgba(24, 0, 58, 0.95);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 34px 0;
        transition: right 0.4s ease;
        box-shadow: 0 24px 40px rgba(24, 0, 58, 0.08);
        border-bottom: 1px solid rgba(132, 3, 252, 0.1);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding: 80px 20px;
        min-height: 300px;
    }

    .hero-title {
        font-size: 80px;
        white-space: normal;
    }

    .hero-subtitle,
    .hero-subtile {
        font-size: 1rem;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .section-title {
        font-size: 24px;
    }

    .calendar {
        max-width: 100%;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .worship-grid {
        flex-direction: column;
        gap: 30px;
    }

    .sermon-text {
        display: none;
    }

    .sermon-float {
        padding: 14px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px;
        min-height: auto;
    }

    .hero-title {
        font-size: 48px;
        white-space: normal;
        margin-bottom: 15px;
    }

    .hero-subtitle,
    .hero-subtile {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .container {
        width: 95%;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-image {
        height: 160px;
    }

    .event-title {
        font-size: 16px;
    }

    .calendar-section {
        padding: 30px 0;
    }

    .calendar-container {
        flex-direction: column;
        gap: 30px;
    }

    .calendar-info h3 {
        font-size: 24px;
    }

    .calendar-info p {
        font-size: 14px;
    }

    .calendar {
        width: 100%;
        padding: 15px;
    }

    .calendar-header h3 {
        font-size: 16px;
    }

    .calendar-days div {
        font-size: 12px;
    }

    .calendar-dates div {
        padding: 8px 0;
        font-size: 13px;
    }
}
.calendar-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Right side */
.calendar-info {
    max-width: 350px;
    text-align: center;
}

.calendar-animation {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

/* Responsive (Very Important) */
@media (max-width: 900px) {
    .calendar-layout {
        flex-direction: column;
        text-align: center;
    }

    .calendar-info {
        max-width: 100%;
    }
}

/* Modal Background */
.event-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Box */
.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Image */
.modal-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Info Section */
.modal-info {
    padding: 20px;
    text-align: center;
}

.attend-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: black;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

.sermon-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    animation: shakeBtn 5s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sermon-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.sermon-text {
    font-size: 14px;
}

.sermon-float:hover {
    transform: translateY(-2px);
    background: var(--secondary);
}

@keyframes shakeBtn {
    0% { transform: translateX(0); }
    2% { transform: translateX(-3px); }
    4% { transform: translateX(3px); }
    6% { transform: translateX(-3px); }
    8% { transform: translateX(3px); }
    10% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive modal tweaks to keep close button visible on small screens */
.modal .modal-content,
.event-modal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal .close-btn,
.event-modal .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1001;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

@media (max-width: 480px) {
    .modal .modal-content,
    .event-modal .modal-content {
        width: 96%;
        margin: 8px;
        padding: 12px;
    }

    .modal-image img,
    .modal-body img {
        max-height: 40vh;
        height: auto;
        object-fit: cover;
    }

    .attend-btn {
        padding: 12px;
    }
}
/* ===============================
   CHURCH FOOTER (FULL WIDTH FIXED)
================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}


/* ===============================
   FOOTER BASE
================================== */

.church-footer {

    --text-primary: #ffffff;
    --text-secondary: #cbb6ff;
    --accent-color: #a855f7;
    --accent-glow: rgba(168,85,247,0.4);
    --border-color: rgba(255,255,255,0.1);
    --transition-speed: 0.3s;

    width: 100%;
    margin: 0;
    border-radius: 0;

    background: linear-gradient(-45deg, #8403fe, #4c019a, #180032, #4c019a);
    background-size: 400% 400%;

    color: var(--text-primary);
    padding: 80px 5% 40px;

    position: relative;
    overflow: hidden;

    border-top: 1px solid var(--border-color);

    font-family: 'Inter', sans-serif;
}

.church-footer,
.church-footer * {
    box-sizing: border-box;
}

.church-footer h3,
.church-footer p,
.church-footer ul {
    margin: 0;
    padding: 0;
}


/* ===============================
   LOGO
================================== */

.footer-logo {
    width: 120px;
    height: 120px;

    object-fit: cover;
    border-radius: 50%;

    display: block;
    margin-bottom: 25px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}


/* ===============================
   AMBIENT GLOW
================================== */

.church-footer::before {
    content: "";

    position: absolute;
    top: -50%;
    left: -10%;

    width: 500px;
    height: 500px;

    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);

    opacity: 0.15;
    z-index: 0;

    pointer-events: none;
    will-change: opacity;
}


/* ===============================
   FOOTER GRID
================================== */

.footer-content {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;

    gap: 20px;
    margin-bottom: 40px;
}


/* ===============================
   BRAND
================================== */

.footer-brand p {
    color: var(--text-secondary);

    line-height: 1.6;
    margin-bottom: 30px;

    font-size: 0.95rem;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeUp 0.8s ease 0.2s forwards;
}


/* ===============================
   CONTACT INFO
================================== */

.contact-info {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {

    display: flex;
    align-items: center;

    margin-bottom: 15px;

    color: var(--text-secondary);
    font-size: 0.9rem;

    transition: all var(--transition-speed);

    opacity: 0;
    transform: translateX(-20px);

    animation: slideRight 0.8s ease forwards;
}

.contact-info li:nth-child(1) { animation-delay: 0.4s; }
.contact-info li:nth-child(2) { animation-delay: 0.5s; }
.contact-info li:nth-child(3) { animation-delay: 0.6s; }

.contact-info li i {

    width: 30px;
    height: 30px;

    background: rgba(255,255,255,0.05);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 12px;

    color: var(--accent-color);
    font-size: 0.8rem;

    transition: all var(--transition-speed);
}

.contact-info li:hover i {
    background: var(--accent-color);
    color: #180032;

    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.contact-info li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}


/* ===============================
   SOCIAL LINKS
================================== */

.social-links {
    display: flex;
    gap: 15px;

    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.social-btn {

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-secondary);
    text-decoration: none;

    transition: all var(--transition-speed);

    position: relative;
    overflow: hidden;
}

.social-btn::before {

    content: "";
    position: absolute;

    inset: 0;

    background: var(--accent-color);

    transform: translateY(100%);
    transition: transform var(--transition-speed);

    z-index: -1;
}

.social-btn:hover {
    color: #180032;
    border-color: var(--accent-color);

    transform: translateY(-5px);
}

.social-btn:hover::before {
    transform: translateY(0);
}


/* ===============================
   FOOTER LINKS
================================== */

.footer-col h3 {

    font-size: 1.1rem;
    font-weight: 600;

    margin-bottom: 25px;

    color: var(--text-primary);

    position: relative;
    display: inline-block;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeUp 0.8s ease 0.3s forwards;
}

.footer-col h3::after {

    content: "";

    position: absolute;
    bottom: -8px;
    left: 0;

    width: 30px;
    height: 2px;

    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-col:hover h3::after {
    width: 100%;
}

.footer-links {
    list-style: none;
}

.footer-links li {

    margin-bottom: 12px;

    opacity: 0;
    transform: translateY(15px);
}

.footer-links a {

    color: var(--text-secondary);
    text-decoration: none;

    font-size: 0.95rem;

    transition: all 0.3s ease;

    position: relative;
    display: inline-block;
}

.footer-links a::before {

    content: "â†’";

    position: absolute;
    left: -15px;

    opacity: 0;

    color: var(--accent-color);

    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}


/* ===============================
   WORSHIP SECTION
================================== */

.worship-box {
    grid-column: 2 / 5;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    margin-top: -75px; /* pull it closer */
    margin-bottom: 0;  /* remove extra space below */
}

.worship-box h2 {

    font-size: 1.6rem;
    margin-bottom: 30px;
}

.worship-grid {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 60px;
    flex-wrap: wrap;
}

.worship-item {

    display: flex;
    align-items: center;

    gap: 15px;
    text-align: left;
}

.worship-item i {

    font-size: 20px;

    background: rgba(255,255,255,0.08);
    padding: 10px;

    border-radius: 8px;

    color: #ffd54a;
}

.worship-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.worship-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.visit-btn {

    display: inline-block;

    background: #ffd54a;
    color: #180032;

    padding: 12px 30px;

    border-radius: 8px;

    font-weight: 600;
    text-decoration: none;

    transition: 0.3s;
}

.visit-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


/* ===============================
   FOOTER BOTTOM
================================== */

.footer-bottom {

    border-top: 1px solid var(--border-color);

    padding-top: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    gap: 20px;

    opacity: 0;
    transform: translateY(20px);

    transition: all 0.8s ease;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}


/* ===============================
   ANIMATIONS
================================== */

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {

    to {
        opacity: 1;
    }
}

@keyframes gradientMove {

    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ===============================
   RESPONSIVE
================================== */

@media (max-width:1024px) {

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .worship-box {
        grid-column: 1 / -1;
    }
}

@media (max-width:768px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .worship-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* ================= REASONS SECTION ================= */
.reasons-section {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
}

.reasons-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.reasons-kicker {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a2be2;
    margin-bottom: 10px;
}

.reasons-header h2 {
    margin: 0 0 12px;
    font-family: 'Lora', serif;
    font-size: 42px;
    line-height: 1.2;
    color: #200047;
}

.reasons-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #5d5670;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.reason-card {
    background: #ffffff;
    border: 1px solid rgba(132, 3, 252, 0.12);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(24, 0, 58, 0.06);
}

.reason-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #34006f;
    font-family: 'Lora', serif;
}

.reason-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #59516d;
}

.reasons-location {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(132, 3, 252, 0.12);
    color: #4c019a;
    font-weight: 600;
}

@media (max-width: 768px) {
    .reasons-header h2 {
        font-size: 30px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
WATCH BUTTON BRAND STYLE
============================== */
.sermon-float{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, #8403fc 0%, #4c019a 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,0.2) !important;
  border-radius:999px !important;
  padding:10px 16px 10px 12px !important;
  box-shadow:0 14px 28px rgba(76,1,154,0.35) !important;
  text-decoration:none;
}

.sermon-icon{
  width:34px !important;
  height:24px !important;
  border-radius:8px !important;
  background:#ffffff !important;
  color:transparent !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:0 !important;
  position:relative;
}

.sermon-icon::before{
  content:"";
  display:block;
  width:0;
  height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:10px solid #8403fc;
  margin-left:2px;
}

.sermon-text{
  color:#ffffff !important;
  font-weight:700;
  letter-spacing:0.01em;
}

.sermon-float:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(76,1,154,0.42) !important;
}

a.hero-btn-secondary[href*="watch.html"],
a.btn-secondary[href*="watch.html"]{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(135deg, #8403fc 0%, #4c019a 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,0.25) !important;
  box-shadow:0 10px 24px rgba(76,1,154,0.3) !important;
}

a.hero-btn-secondary[href*="watch.html"]::before,
a.btn-secondary[href*="watch.html"]::before{
  content:"▶";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:14px;
  border-radius:4px;
  background:#ffffff;
  color:#8403fc;
  font-size:9px;
  line-height:1;
  font-weight:800;
}

