html, body, main#main-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
}

img, video, iframe, table, svg {
    max-width: 100% !important;
    height: auto !important;
}

.logo-image {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
}

.hero-logo, .centered-logo img {
    max-width: 60px !important;
    width: auto !important;
    height: auto !important;
}
section.hero {
    position: relative !important;
    min-height: 80vh;
    min-height: 80dvh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 40px;
    overflow: hidden !important;
}
    
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Main Content */
.hero-content {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: min(1400px, 95vw);
    margin: 0 auto;
    margin-top: 0 !important;
    padding: 0 clamp(16px, 4vw, 60px);
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.85) 0%, rgba(11, 45, 92, 0.9) 100%);
    z-index: 1;
}

/* Animated Background Pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 165, 58, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(4, 30, 74, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(212, 165, 58, 0.08) 0%, transparent 30%);
    animation: patternShift 15s ease-in-out infinite;
    z-index: 2;
}

@keyframes patternShift {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Floating Orbs Animation */
.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: clamp(180px, 50vw, 400px);
    height: clamp(180px, 50vw, 400px);
    background: rgba(212, 165, 58, 0.15);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: clamp(140px, 40vw, 300px);
    height: clamp(140px, 40vw, 300px);
    background: rgba(4, 30, 74, 0.2);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.orb-3 {
    width: clamp(120px, 35vw, 250px);
    height: clamp(120px, 35vw, 250px);
    background: rgba(139, 69, 19, 0.15);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Main Content */

/* Cross Badge */
.hero-cross-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: rgba(212, 165, 58, 0.15);
        border: 1px solid rgba(212, 165, 58, 0.4);
        padding: 10px 24px;
        border-radius: 50px;
        margin-bottom: 20px;
        animation: fadeInDown 0.8s ease-out;
    }

/* Diocesan Logo */
.centered-logo {
    text-align: center;
    margin: 4px auto 0 auto;
    width: 100%;
    display: block;
    position: relative;
    left: 0;
    right: 0;
}

     .centered-logo img {
         display: block;
         margin: 0 auto;
         max-width: 80px;
         height: auto;
     }
    
    .hero-cross-badge svg {
        width: 18px;
        height: 18px;
        fill: #087CB8;
    }
    
    .hero-cross-badge span {
        color: #087CB8;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    
    /* Church Name */
    .hero-welcome-text {
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.8rem, 1.5vw, 1rem);
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        letter-spacing: 1px;
        margin-bottom: 10px;
        animation: fadeInUp 0.8s ease-out 0.1s both;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    
    .hero-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 6vw, 4rem);
        font-weight: 700;
        color: #fff;
        line-height: 1.1;
        margin-bottom: 15px;
        letter-spacing: -1px;
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }
    
    .hero-title .accent {
        display: block;
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 50%, #087CB8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    /* Sub-headline */
    .hero-subtitle {
        font-family: 'Poppins', sans-serif;
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 20px;
        max-width: 700px;
        line-height: 1.7;
        animation: fadeInUp 0.8s ease-out 0.3s both;
    }
    
    /* Service Times */
    .hero-service-times {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
        animation: fadeInUp 0.8s ease-out 0.45s both;
        overflow: visible !important;
    }
    
    .service-time-badge {
        display: block;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        transition: none;
    }
    
    .service-time-badge:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
        box-shadow: none;
    }

    .service-time-badge i {
        display: none;
    }
    
    .service-label {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .service-time {
        font-size: 0.95rem;
        color: #fff;
        font-weight: 600;
    }
    
    /* Tagline */
    .hero-tagline {
        font-family: 'Poppins', sans-serif;
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 20px;
        max-width: 700px;
        line-height: 1.7;
        animation: fadeInUp 0.8s ease-out 0.3s both;
    }
    
    /* Secondary Button */
    .btn-secondary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 18px 40px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        background: linear-gradient(135deg, #041E4A 0%, #041E4A 100%);
        color: #fff;
        border: none;
    }
    
    .btn-secondary:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(4, 30, 74, 0.4);
    }
    
    /* Verse */
    .hero-verse {
        font-family: 'Georgia', serif;
        font-style: italic;
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 35px;
        max-width: 600px;
        animation: fadeInUp 0.8s ease-out 0.6s both;
    }
    
    /* Quick WhatsApp Contact */
    .hero-quick-contact {
        margin-top: 30px;
        animation: fadeInUp 0.8s ease-out 1s both;
        overflow: visible !important;
    }
    
    .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #25D366;
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    
    .whatsapp-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    
    .whatsapp-btn i {
        font-size: 1.2rem;
    }
    
    /* CTA Buttons */
    .hero-cta {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        animation: fadeInUp 0.8s ease-out 0.7s both;
    }
    
    .hero-cta .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 18px 40px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }
    
    .hero-cta .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }
    
    .hero-cta .btn:hover::before {
        left: 100%;
    }
    
    .hero-cta .btn-primary {
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%);
        color: #041E4A;
        border: none;
        box-shadow: 0 10px 40px rgba(212, 165, 58, 0.4);
    }
    
    .hero-cta .btn-primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(212, 165, 58, 0.5);
    }
    
    .hero-cta .btn-outline {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        color: #ffffff !important;
        border: 2px solid #ffffff;
    }
    
    .hero-cta .btn-outline:hover {
        background: #087CB8;
        color: #041E4A !important;
        border-color: #087CB8;
        transform: translateY(-4px);
    }
    

    
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(40px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
@keyframes fadeInDown {
         from { opacity: 0; transform: translateY(-40px); }
         to { opacity: 1; transform: translateY(0); }
     }
     
      @keyframes fadeIn {
         from { opacity: 0; }
         to { opacity: 1; }
      }
      
      @keyframes ticker {
          0% { transform: translateX(100%); }
          100% { transform: translateX(-100%); }
      }
     
     /* Floating Hearts Animation */
      .floating-hearts {
          position: absolute;
          width: 100%;
          height: 100%;
          overflow: hidden;
          z-index: 2;
          pointer-events: none;
      }

      .floating-hearts .heart {
          position: absolute;
          width: 20px;
          height: 20px;
          animation: floatHeart 20s linear infinite, pulseHeart 2s ease-in-out infinite;
      }

      .floating-hearts .heart::before,
      .floating-hearts .heart::after {
          content: "";
          position: absolute;
          width: 20px;
          height: 20px;
          background: linear-gradient(135deg, #087CB8, #087CB8);
          border-radius: 50%;
      }

      .floating-hearts .heart::before {
          top: -10px;
          left: 0;
      }

      .floating-hearts .heart::after {
          top: 0;
          left: 10px;
      }

      .float-heart-1 { left: 5%; animation-delay: 0s; animation-duration: 18s, 2s; }
      .float-heart-2 { left: 20%; animation-delay: 3s; animation-duration: 22s, 2.5s; }
      .float-heart-3 { left: 35%; animation-delay: 6s; animation-duration: 20s, 2s; }
      .float-heart-4 { left: 50%; animation-delay: 9s; animation-duration: 19s, 2.2s; }
      .float-heart-5 { left: 65%; animation-delay: 12s; animation-duration: 21s, 2.3s; }
      .float-heart-6 { left: 80%; animation-delay: 15s; animation-duration: 17s, 2s; }

      @keyframes floatHeart {
          0% { opacity: 0; transform: translateY(100vh) scale(0.3) rotate(-20deg); }
          5% { opacity: 1; }
          15% { transform: translateY(80vh) scale(1.1) rotate(10deg); }
          85% { transform: translateY(20vh) scale(1.1) rotate(-10deg); opacity: 1; }
          95% { opacity: 0.5; }
          100% { opacity: 0; transform: translateY(-20vh) scale(0.3) rotate(20deg); }
      }

      @keyframes pulseHeart {
          0%, 100% { transform: scale(1); }
          50% { transform: scale(1.15); }
      }
     
      /* Hide floating hearts on mobile */
      @media (max-width: 768px) {
          .floating-hearts { display: none; }
      }
    
    /* Responsive */
    @media (max-width: 768px) {
        .hero { 
            min-height: 100vh; 
            padding-top: 15px;
            padding-bottom: 40px;
        }
        .hero-content { 
            padding: 0 24px 30px;
        }

        .hero-cta { 
            display: flex !important;
            flex-direction: column !important; 
            align-items: center !important; 
            gap: 15px !important; 
            width: 100% !important;
            padding: 0 10px;
        }
        .hero-cta .btn { 
            display: inline-flex !important;
            align-items: center !important;
            width: 100% !important; 
            max-width: 300px !important; 
            justify-content: center !important; 
            padding: 14px 20px !important;
            font-size: 0.8rem !important;
            margin: 0 !important;
            margin-bottom: 0 !important;
            box-sizing: border-box !important;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
        }
        .hero-cta .btn + .btn {
            margin-top: 0 !important;
            margin-left: 0 !important;
        }
        .hero-service-times { gap: 6px; }
        .service-time-badge { padding: 0; }
    }

    @media (max-width: 480px) {
        .hero {
            padding-bottom: 30px;
        }

        .hero-content {
            padding: 0 20px 20px;
        }

        .hero-quick-contact {
            margin-top: 20px;
        }

        .whatsapp-btn {
            padding: 10px 20px;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 360px) {
        .hero {
            padding-bottom: 24px;
        }

        .hero-content {
            padding: 0 16px 16px;
        }

        .hero-quick-contact {
            margin-top: 16px;
        }

        .whatsapp-btn {
            padding: 10px 18px;
            font-size: 0.8rem;
        }
    }
    
    @media (max-width: 480px) {
        .hero-cta {
            gap: 12px !important;
            padding: 0 5px;
        }
        .hero-cta .btn {
            max-width: 100% !important;
            padding: 12px 16px !important;
            font-size: 0.7rem !important;
            letter-spacing: 0.5px;
        }
    }

    @media (max-width: 360px) {
        .hero {
            min-height: 40vh;
            padding-top: 10px;
            padding-bottom: 20px;
        }

        .hero-content {
            padding: 0 16px 12px;
        }

        .hero-title {
            font-size: clamp(2rem, 6vw, 3.5rem);
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .hero-service-times {
            gap: 8px;
        }

        .service-time-badge {
            padding: 8px 12px;
        }

        .service-time-badge i {
            font-size: 0.8rem;
        }

        .service-label {
            font-size: 0.7rem;
        }

        .service-time {
            font-size: 0.9rem;
        }

        .hero-cta {
            gap: 10px !important;
            padding: 0 3px;
        }

        .hero-cta .btn {
            padding: 10px 14px !important;
            font-size: 0.65rem !important;
            letter-spacing: 0.3px;
        }

        .hero-quick-contact {
            margin-top: 14px;
        }

        .whatsapp-btn {
            padding: 10px 16px;
            font-size: 0.8rem;
        }

        .scroll-indicator {
            bottom: 12px;
        }

        .scroll-text {
            font-size: 0.7rem;
        }

        .scroll-arrow {
            font-size: 1rem;
        }
    }

    @media (max-width: 320px) {
        .container {
            padding: 0 15px;
        }

        .hero {
            min-height: 35vh;
        }

        .hero-content {
            padding: 0 15px 35px;
        }

        .hero-title {
            font-size: clamp(1.8rem, 5vw, 3rem);
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .hero-service-times {
            gap: 6px;
            margin-bottom: 18px;
        }

        .service-time-badge {
            padding: 6px 10px;
        }

        .service-time-badge i {
            font-size: 0.75rem;
        }

        .service-label {
            font-size: 0.65rem;
        }

        .service-time {
            font-size: 0.85rem;
        }

        .hero-cta {
            gap: 8px !important;
            padding: 0 2px;
        }

        .hero-cta .btn {
            padding: 9px 12px !important;
            font-size: 0.6rem !important;
            letter-spacing: 0.2px;
        }

        .hero-quick-contact {
            margin-top: 18px;
        }

        .whatsapp-btn {
            padding: 8px 16px;
            font-size: 0.8rem;
        }

        .scroll-indicator {
            bottom: 12px;
        }

        .scroll-text {
            font-size: 0.7rem;
        }

        .scroll-arrow {
            font-size: 1rem;
        }
    }
    
    @media (min-width: 769px) and (max-width: 1024px) {
        .hero-stats { gap: 15px; }
        .hero-stat { padding: 25px 20px; min-width: 140px; }
        .hero-stat-number { font-size: 2.2rem; }
        .hero-service-times { gap: 10px; }
        .service-time-badge { padding: 10px 15px; }
    }

    /* Home Page Events - Small Tablets */
    @media (max-width: 640px) {
        .events-grid {
            grid-template-columns: 1fr !important;
            gap: 18px !important;
            padding: 0 10px;
        }

        .event-card > div {
            padding: 14px !important;
        }

        .event-card img {
            height: 120px !important;
        }

        .event-card h3 {
            font-size: 1.1rem !important;
        }

        .event-card .event-time,
        .event-card .event-location {
            font-size: 0.8rem !important;
        }
    }

    /* Home Page Events - Mobile */
    @media (max-width: 480px) {
        .events-grid {
            gap: 15px !important;
            padding: 0 5px;
        }

        .event-card {
            border-radius: 12px !important;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        }

        .event-card > div {
            padding: 12px !important;
        }

        .event-card img {
            height: 110px !important;
            border-radius: 12px 12px 0 0 !important;
        }

        .event-card h3 {
            font-size: 1.05rem !important;
            margin-bottom: 6px !important;
        }

        .event-card .event-time,
        .event-card .event-location {
            font-size: 0.75rem !important;
            margin-bottom: 2px !important;
        }

        .event-card .event-link {
            font-size: 0.8rem !important;
            min-height: 36px !important;
            display: flex !important;
            align-items: center !important;
        }

        .event-card {
            transition: transform 0.2s ease !important;
        }

        .event-card:active {
            transform: scale(0.98) !important;
        }
    }

    /* Prayer Request Button Hover */
    .cta-buttons .btn-primary:hover {
        background: #087CB8 !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 165, 58, 0.4);
    }

    /* Share Modal Styles */
    .share-modal {
        animation: fadeIn 0.3s ease-out;
    }

    .share-modal-content {
        animation: slideIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

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

    /* Announcement Actions Responsive */
    @media (max-width: 768px) {
        .announcement-actions {
            flex-direction: column;
            gap: 8px;
        }

        .share-btn {
            width: 100%;
            justify-content: center;
        }

        .share-options {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 10px;
        }

        .share-option {
            padding: 12px !important;
        }

        .share-modal-content {
            width: 95% !important;
            margin: 20% auto !important;
        }
    }

    @media (max-width: 480px) {
        .share-options {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }

    /* Home Page Event Cards */
    .events-grid .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

    .events-grid .event-card:hover .card-glow {
        opacity: 1;
    }

    .events-grid .event-card:hover img {
        transform: scale(1.05);
    }

    .events-grid .event-link:hover {
        color: var(--secondary-color) !important;
        transform: translateX(3px);
    }

    /* Service Times Section - Professional Redesign */
    .services-section {
        padding: 100px 0 !important;
        background: linear-gradient(180deg, #041E4A 0%, #041E4A 100%) !important;
        position: relative;
        overflow: hidden;
    }

    .services-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(212, 165, 58, 0.08) 0%, transparent 40%),
            radial-gradient(circle at 80% 20%, rgba(4, 30, 74, 0.1) 0%, transparent 40%);
        pointer-events: none;
    }

    .services-section .section-header {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
        z-index: 1;
    }

    .services-section .section-subtitle {
        display: inline-block;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: #087CB8 !important;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .services-section .section-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 5vw, 3rem);
        color: #fff !important;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .services-section .section-description {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: clamp(1rem, 2vw, 1.1rem);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.7;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
        gap: clamp(16px, 2.5vw, 30px) !important;
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .service-card {
        background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%) !important;
        border: 1px solid rgba(212, 165, 58, 0.2) !important;
        border-radius: 20px !important;
        padding: 40px 30px !important;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #087CB8, #087CB8, #087CB8);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .service-card:hover {
        transform: translateY(-8px);
        border-color: rgba(212, 165, 58, 0.5) !important;
        box-shadow: 0 20px 50px rgba(212, 165, 58, 0.2) !important;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%) !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 32px;
        color: #041E4A !important;
        box-shadow: 0 10px 30px rgba(212, 165, 58, 0.3);
        transition: all 0.4s ease;
    }

    .service-card:hover .service-icon {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(212, 165, 58, 0.4);
    }

    .service-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        color: #fff !important;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .service-card .service-time {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(212, 165, 58, 0.15) !important;
        border: 1px solid rgba(212, 165, 58, 0.3) !important;
        padding: 10px 20px !important;
        border-radius: 50px !important;
        font-size: 1rem;
        color: #087CB8 !important;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .service-card .service-time i {
        font-size: 0.9rem;
    }

    .service-card .service-desc {
        color: rgba(255, 255, 255, 0.65) !important;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .services-section .text-center.mt-5 {
        margin-top: 50px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .services-section .btn {
        display: inline-flex !important;
        align-items: center;
        gap: 10px;
        padding: 16px 35px !important;
        border-radius: 50px !important;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .services-section .btn-primary {
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%) !important;
        color: #041E4A !important;
        border: none !important;
    }

    .services-section .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(212, 165, 58, 0.4) !important;
    }

    @media (max-width: 768px) {
        .services-section {
            padding: 70px 0 !important;
        }

        .services-section .section-header {
            margin-bottom: 40px;
        }

        .services-grid {
            grid-template-columns: 1fr !important;
            gap: 20px !important;
        }

        .service-card {
            padding: 28px 20px !important;
        }
    }

    /* Additional responsive improvements for very small screens */
    @media (max-width: 480px) {
        .section {
            padding: 60px 0;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .section-description {
            font-size: 1rem;
            max-width: 90%;
        }

        .about-grid {
            gap: 30px;
        }

        .about-content h3 {
            font-size: 1.6rem;
        }

        .about-content .lead {
            font-size: 1rem;
        }

        .about-features li {
            font-size: 0.95rem;
        }

        .about-buttons {
            flex-direction: column;
            gap: 12px;
        }

        .about-buttons .btn {
            width: 100%;
            max-width: 250px;
    margin: 20px auto 0 auto;
        }

        .announcements-grid {
            gap: 20px;
        }

        .announcement-card {
            padding: 20px;
        }

        .ministries-grid {
            gap: 20px;
        }

        .ministry-card {
            padding: 20px;
        }

        .ministry-card h3 {
            font-size: clamp(1rem, 2vw, 1.1rem);
        }

        .ministry-card p {
            font-size: 0.9rem;
        }

        .events-grid {
            gap: 18px;
        }

        .event-card {
            padding: 16px;
        }

        .event-card h3 {
            font-size: 1rem;
        }

        .btn-view-all {
            padding: 12px 24px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 360px) {
        .section {
            padding: 50px 0;
        }

        .section-title {
            font-size: 1.8rem;
        }

        .section-description {
            font-size: 0.95rem;
        }

        .about-content h3 {
            font-size: 1.4rem;
        }

        .about-content .lead {
            font-size: 0.95rem;
        }

        .about-features li {
            font-size: 0.9rem;
        }

        .about-buttons .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }

        .announcement-card h3 {
            font-size: clamp(1rem, 2vw, 1.1rem);
        }

        .announcement-card p {
            font-size: 0.9rem;
        }

        .ministry-card h3 {
            font-size: 1rem;
        }

        .ministry-card p {
            font-size: 0.85rem;
        }

        .event-card h3 {
            font-size: 0.95rem;
        }

        .btn-view-all {
            padding: 10px 20px;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 320px) {
        .container {
            padding: 0 15px;
        }

        .section-title {
            font-size: 1.6rem;
        }

        .section-description {
            font-size: 0.9rem;
        }

        .about-content h3 {
            font-size: 1.3rem;
        }

        .about-content .lead {
            font-size: 0.9rem;
        }

        .about-features li {
            font-size: 0.85rem;
        }

        .about-buttons .btn {
            padding: 9px 18px;
            font-size: 0.85rem;
        }

        .announcement-card {
            padding: 16px;
        }

        .announcement-card h3 {
            font-size: 1rem;
        }

        .announcement-card p {
            font-size: 0.85rem;
        }

        .ministry-card {
            padding: 16px;
        }

        .ministry-card h3 {
            font-size: 0.95rem;
        }

        .ministry-card p {
            font-size: 0.8rem;
        }

        .event-card {
            padding: 14px;
        }

        .event-card h3 {
            font-size: 0.9rem;
        }

        .btn-view-all {
            padding: 9px 18px;
            font-size: 0.8rem;
        }
    }
    /* Professional Testimonials & Prayer Wall */
    .testimonials-section {
        padding: 100px 0;
        background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
        position: relative;
        overflow: hidden;
    }

    .testimonials-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #087CB8, transparent);
        opacity: 0.5;
    }

    .testimonials-section .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .testimonials-section .section-subtitle {
        color: #087CB8;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 10px;
    }

    .testimonials-section .section-title {
        color: #041E4A;
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .testimonials-section .section-description {
        color: #666;
        font-size: clamp(1rem, 2vw, 1.1rem);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.7;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: clamp(16px, 2vw, 30px);
        margin-top: 50px;
    }

    .testimonial-card {
        background: #fff;
        border-radius: 20px;
        padding: 40px 35px 30px;
        box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
        border: 1px solid rgba(4, 30, 74, 0.06);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #087CB8, #087CB8);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(4, 30, 74, 0.15);
        border-color: rgba(212, 165, 58, 0.2);
    }

    .testimonial-card:hover::before {
        opacity: 1;
    }

    .testimonial-quote {
        margin-bottom: 20px;
        position: relative;
    }

    .testimonial-quote i {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        color: #087CB8;
        opacity: 0.3;
        transition: all 0.3s ease;
    }

    .testimonial-card:hover .testimonial-quote i {
        opacity: 0.6;
        transform: scale(1.1);
    }

    .testimonial-rating {
        display: flex;
        gap: 4px;
        margin-bottom: 15px;
        color: #087CB8;
        font-size: 0.9rem;
    }

    .testimonial-text {
        color: #333;
        font-size: clamp(0.95rem, 2vw, 1.05rem);
        line-height: 1.9;
        font-style: italic;
        margin-bottom: 25px;
        position: relative;
        z-index: 1;
    }

    .testimonials-section .testimonial-author {
        display: block !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        color: inherit !important;
        font-size: inherit !important;
        border-top: 1px solid #f0f0f0;
        padding-top: 20px;
        margin-top: 10px;
    }

    .testimonials-section .author-info h4 {
        font-size: clamp(1rem, 2vw, 1.1rem);
        color: #041E4A;
        margin-bottom: 6px;
        font-weight: 700;
        letter-spacing: 0.3px;
    }

    .testimonials-section .author-info h4 i {
        color: #087CB8;
        font-size: 0.95rem;
    }

    .testimonials-section .author-info span {
        color: #888;
        font-size: 0.85rem;
        font-weight: 500;
    }

    @media (max-width: 992px) {
        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .testimonial-card {
            padding: 30px 25px 25px;
        }

        .testimonials-section .section-title {
            font-size: 2.2rem;
        }
    }

    .testimonials-grid.visible .testimonial-card {
        opacity: 0;
        transform: translateY(30px);
    }
    .testimonials-grid.visible .testimonial-card.animated {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .testimonials-grid.visible .testimonial-card:nth-child(1).animated { transition-delay: 0.1s; }
    .testimonials-grid.visible .testimonial-card:nth-child(2).animated { transition-delay: 0.2s; }
    .testimonials-grid.visible .testimonial-card:nth-child(3).animated { transition-delay: 0.3s; }
    .testimonials-grid.visible .testimonial-card:nth-child(4).animated { transition-delay: 0.4s; }
    .testimonials-grid.visible .testimonial-card:nth-child(5).animated { transition-delay: 0.5s; }

    /* Home page layout helpers (replaces inline styles) */
    .home-events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: clamp(16px, 2vw, 25px);
        margin-top: 30px;
    }

    .home-videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: clamp(16px, 2vw, 30px);
        max-width: 1200px;
        margin: 0 auto;
    }

    .home-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
        gap: clamp(16px, 2vw, 30px);
        max-width: 1000px;
        margin: 0 auto;
    }

    .pastor-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
        gap: clamp(24px, 3vw, 40px);
        align-items: center;
    }

    .home-event-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        position: relative;
        border: 1px solid rgba(0,0,0,0.05);
    }

    .event-accent-bar {
        height: 3px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    }

    .event-card-image {
        position: relative;
        height: 140px;
        overflow: hidden;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .event-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .event-card-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
    }

    .event-card-body {
        padding: 20px;
    }

    .event-card-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .event-date-badge {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: #fff;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .event-upcoming-badge {
        background: #27ae60;
        color: #fff;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
    }

    .event-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .event-details {
        color: rgba(0,0,0,0.6);
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .event-detail-row {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 5px;
    }

    .event-detail-row i {
        color: var(--primary-color);
        width: 14px;
    }

    .event-link {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .home-event-card .card-glow {
        position: absolute;
        inset: 0;
        border-radius: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        box-shadow: 0 15px 40px rgba(30, 58, 95, 0.15);
    }

    /* Announcement cards */
    .announcement-card {
        background: #fff;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        border-left: 4px solid var(--primary-color);
    }

    .announcement-badge {
        padding: 5px 14px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        display: inline-block;
        margin-bottom: 12px;
    }

    .announcement-badge--urgent {
        background: #e74c3c;
        color: #fff;
    }

    .announcement-badge--pinned {
        background: #087CB8;
        color: #0B2D5C;
    }

    .announcement-badge--default {
        background: rgba(255,255,255,0.2);
        color: #333;
    }

    .announcement-title {
        margin-bottom: 8px;
    }

    .announcement-date {
        color: #087CB8;
        font-size: 0.85rem;
        margin-bottom: 12px;
        display: block;
    }

    .announcement-text {
        margin-bottom: 15px;
    }

    .share-btn {
        background: rgba(212, 165, 58, 0.1);
        border: 1px solid #087CB8;
        color: #087CB8;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 15px;
    }

    /* Hero CTA buttons */
    .hero-cta-btn-primary {
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%);
        color: #041E4A;
        border: none;
        padding: 16px 40px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(212, 165, 58, 0.35);
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .hero-cta-btn-outline {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.6);
        padding: 16px 40px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        letter-spacing: 0.5px;
        text-transform: uppercase;
        backdrop-filter: blur(4px);
    }

    /* Countdown timer */
    .countdown-timer {
        margin-top: 15px;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: clamp(6px, 1.5vw, 12px);
        background: rgba(233, 69, 96, 0.15);
        padding: clamp(8px, 1.5vw, 14px) clamp(12px, 3vw, 28px);
        border-radius: 50px;
        border: 1px solid rgba(233, 69, 96, 0.3);
        max-width: min(720px, 95vw);
        margin-left: auto;
        margin-right: auto;
    }

    .countdown-timer > span {
        font-size: clamp(0.78rem, 1.6vw, 0.95rem);
        color: #087CB8;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .countdown-timer > div {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: clamp(4px, 1vw, 10px);
    }

    .countdown-timer > div > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-width: clamp(34px, 8vw, 50px);
    }

    .countdown-number {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
        font-weight: 700;
        color: #087CB8;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    .countdown-timer > div > span {
        font-size: clamp(0.95rem, 2.2vw, 1.1rem);
        color: #087CB8;
        font-weight: 700;
        line-height: 1;
    }

    .countdown-timer span:not(.countdown-number):not(#next-service-name) {
        font-size: clamp(0.65rem, 1.4vw, 0.85rem);
        color: #087CB8;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Share modal */
    .share-modal {
        display: none;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
    }

    .share-modal-content {
        background-color: #ffffff;
        margin: 15% auto;
        padding: 0;
        border: 2px solid #087CB8;
        width: 90%;
        max-width: 500px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .share-modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .share-modal-body {
        padding: 20px;
    }

    .share-title {
        font-weight: 600;
        margin-bottom: 15px;
        color: #0B2D5C;
    }

    .share-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .share-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        transition: transform 0.2s;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .pastor-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .home-videos-grid {
            grid-template-columns: 1fr;
        }

        .countdown-timer {
            border-radius: 16px;
        }

        .countdown-timer > div {
            width: 100%;
        }

        .share-modal-content {
            width: 95%;
            margin: 20% auto;
        }

        .share-options {
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
    }

    @media (max-width: 480px) {
        .home-events-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .home-stats-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .share-options {
            grid-template-columns: repeat(2, 1fr);
        }

        .countdown-timer {
            padding: 8px 12px;
        }
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #041E4A 0%, #0B2D5C 100%);
        position: relative;
        overflow: hidden;
    }

    .newsletter-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(212, 165, 58, 0.08) 0%, transparent 40%),
            radial-gradient(circle at 80% 20%, rgba(4, 30, 74, 0.1) 0%, transparent 40%);
        pointer-events: none;
    }

    .newsletter-wrapper {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .newsletter-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%);
        border-radius: 50%;
        margin-bottom: 25px;
        box-shadow: 0 10px 30px rgba(212, 165, 58, 0.3);
    }

    .newsletter-icon i {
        font-size: 32px;
        color: #041E4A;
    }

    .newsletter-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 5vw, 2.8rem);
        color: #fff;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .newsletter-subtitle {
        font-family: 'Poppins', sans-serif;
        font-size: clamp(1rem, 2vw, 1.1rem);
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 35px;
        line-height: 1.7;
    }

    .newsletter-form-row {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .newsletter-input {
        flex: 1;
        min-width: 220px;
        padding: 16px 22px;
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        outline: none;
        transition: all 0.3s ease;
    }

    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-input:focus {
        border-color: #087CB8;
        background: rgba(255, 255, 255, 0.12);
    }

    .newsletter-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 32px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(135deg, #087CB8 0%, #087CB8 100%);
        color: #041E4A;
        font-weight: 700;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .newsletter-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(212, 165, 58, 0.4);
    }

    .newsletter-form .form-messages {
        margin-bottom: 25px;
    }

    .newsletter-form .form-alert {
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .newsletter-form .form-alert.success {
        background: rgba(212, 165, 58, 0.15);
        color: #087CB8;
        border: 1px solid rgba(212, 165, 58, 0.3);
    }

    .newsletter-form .form-alert.error {
        background: rgba(231, 76, 60, 0.15);
        color: #e74c3c;
        border: 1px solid rgba(231, 76, 60, 0.3);
    }

    .newsletter-form-messages {
        margin-bottom: 25px;
    }

    .newsletter-form-alert {
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 0.95rem;
        margin-bottom: 10px;
        animation: fadeInUp 0.4s ease-out;
    }

    .newsletter-form-alert--success {
        background: rgba(212, 165, 58, 0.15);
        color: #087CB8;
        border: 1px solid rgba(212, 165, 58, 0.3);
    }

    .newsletter-form-alert--error {
        background: rgba(231, 76, 60, 0.15);
        color: #e74c3c;
        border: 1px solid rgba(231, 76, 60, 0.3);
    }

    @media (max-width: 768px) {
        .newsletter-section {
            padding: 70px 0;
        }

        .newsletter-form-row {
            flex-direction: column;
            align-items: stretch;
        }

        .newsletter-input {
            min-width: auto;
            width: 100%;
        }

        .newsletter-btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* Large screens / ultrawide */
    @media (min-width: 1600px) {
        section.hero {
            padding-bottom: 60px;
        }

        .hero-content {
            max-width: 1200px;
        }
    }

    @media (min-width: 1920px) {
        section.hero {
            min-height: 80vh;
        }

        .hero-title {
            font-size: clamp(2.5rem, 4vw, 4.5rem);
        }

        .hero-content {
            max-width: 1300px;
        }
    }

    @media (min-width: 2560px) {
        section.hero {
            min-height: 70vh;
        }

        .hero-content {
            max-width: 1500px;
        }

        .hero-title {
            font-size: clamp(3rem, 4vw, 5rem);
        }
    }

/* Countdown Timer Card */
.countdown-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: clamp(16px, 3vw, 24px) clamp(20px, 4vw, 32px);
    max-width: min(720px, 92vw);
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px !important;
    animation: fadeInUp 0.8s ease-out 0.85s both !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #D4A53A, #e94560);
    opacity: 0.6;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.countdown-label {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 700;
    color: #087CB8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-service {
    background: linear-gradient(135deg, #D4A53A 0%, #F2C86B 100%);
    color: #041E4A;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(212, 165, 58, 0.35);
}

.countdown-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 14px);
}

.countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: clamp(48px, 10vw, 64px);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #087CB8;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.countdown-unit {
    font-size: clamp(0.65rem, 1.4vw, 0.8rem);
    font-weight: 600;
    color: #087CB8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-divider {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #D4A53A;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .countdown-divider {
        display: none;
    }

    .countdown-grid {
        gap: clamp(4px, 1vw, 8px);
    }

    .countdown-cell {
        min-width: clamp(40px, 18vw, 56px);
    }

    .countdown-number {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }
}

@media (max-width: 480px) {
    .countdown-card {
        padding: clamp(12px, 3vw, 20px) clamp(16px, 4vw, 24px);
    }
}

/* Diocesan Logo */
.hero-logo, .centered-logo img {
    max-width: 60px !important;
    width: auto !important;
    height: auto !important;
}

.centered-logo {
    text-align: center;
    margin: 16px auto 0 auto;
    width: 100%;
    display: block;
    position: relative;
    left: 0;
    right: 0;
}

.centered-logo img {
    display: block;
    margin: 0 auto;
    max-width: 80px;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    padding: 0;
    object-fit: contain;
}