:root {
    --royal-blue: #001f4d;
    --deep-navy: #001a40;
    --navy-gradient-start: #001a40;
    --navy-gradient-end: #002a66;

    --gold: #bfa21f;
    --gold-light: #f0d86b;
    --gold-soft: #d4c272;
    --gold-border: rgba(191, 162, 31, 0.3);

    --silver: #c0c0c0;
    --silver-light: #e8e8e8;

    --text-light: #e0e0e0;
    --text-silver: silver;

    --bg-light: #f5f7fa;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

    --shadow-gold: rgba(191, 162, 31, 0.5);
    --shadow-dark: rgba(0, 0, 0, 0.3);

    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
    padding-top: 0px;
    overflow-x: hidden;
}


.slider-wrapper { width: 100%;height: 100vh; min-height: 400px; display: flex; align-items: center; justify-content: center; background: #000; }
.slider-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; }
.slide.active { opacity: 1; z-index: 1; animation: dissolveForward 8s ease-out forwards; }

@keyframes dissolveForward {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); color: white; padding: 16px; border: none; cursor: pointer; border-radius: 50%; transition: background 0.3s; }
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover { background: rgba(255, 255, 255, 0.5); }

@media (max-aspect-ratio: 3/5) {
    .slider-wrapper { height: 90vh; }
    .prev, .next { padding: 12px; font-size: 14px; }
    .prev { left: 10px; }
    .next { right: 10px; }
}
@media (orientation: portrait) {
    .slider-wrapper { height: 2vh; }
    .prev, .next { padding: 14px; }
}
@media (min-aspect-ratio: 3/4) and (max-aspect-ratio: 1/1) {
    .slider-wrapper { height: 70vh; }
    .prev, .next { padding: 15px; }
}
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 16/9) {
    .slider-wrapper { height: 100vh; }
    .prev, .next { padding: 18px; }
}
@media (min-aspect-ratio: 16/9) {
    .slider-wrapper { height: 100vh; }
    .slider-container { max-width: 1600px; margin: auto; }
    .prev, .next { padding: 20px; }
}





.monument-card { position: relative; height: 380px; border-radius: 15px; overflow: hidden; transform-style: preserve-3d; perspective: 2000px; transition: 0.5s ease; }
.monument-card::before {
    content: '';
    position: absolute;
    width: 180%;
    height: 180%;
    background: conic-gradient(
        from 0deg,
        #002a66,
        #00d4ff,
        #0051cc,
        #002a66
    );
    animation: rotate-border 4s linear infinite;
    z-index: 1;
}
.monument-card::after { content: ''; position: absolute; inset: 5px; background: #eae5e5; border-radius: 12px; z-index: 2; }
.monument-card > * { position: relative; z-index: 3; }
.frame-wrap { position: absolute; inset: 5px; overflow: hidden; border-radius: 10px; transition: 0.5s ease; }
.base-image { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.monument-card:hover .frame-wrap { transform: rotateX(20deg) translateY(-5%); box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.7); }
.monument-card:hover .base-image { opacity: 0.4; filter: blur(1px); transform: scale(1.05); }
.overlay-content { position: absolute; width: 85%; text-align: center; color: #002a66; opacity: 0; transform: translateY(30%); transition: 0.5s ease; }
.monument-card:hover .overlay-content { opacity: 1; transform: translateY(-10%); }
.title-main { font-size: 1.4rem; margin-bottom: 10px; text-transform: uppercase; }
.description { font-size: 0.95rem; }

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}






.fade-section { background-color: #eae5e5; border-radius: 10px; overflow: hidden; }
.title, .content { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; position: relative; z-index: 3; }
.title.show, .content.show { opacity: 1; transform: translateY(0); }
.title { font-family: cinzel; font-size: 2rem; }
.legacy-text { font-family: "Bodoni Moda", serif; font-size: 1.2rem; }
.legacy-img { max-height: 350px; object-fit: cover; }
.background-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 1; transition: opacity 1s ease; }
.background-image img.hide { opacity: 0; }
.button-container-1 { position: relative; width: fit-content; border: 2px solid #002a66; border-radius: 10px; background: #fff; overflow: hidden; }
.mas { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; text-transform: uppercase; }
.button-container-1 button {
    padding: 12px 30px;
    border: none;
    background: #002a66;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;

    -webkit-mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/nature-sprite.png");
    mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/nature-sprite.png");
    -webkit-mask-size: 2300% 100%;
    mask-size: 2300% 100%;
    animation: ani2 0.7s steps(22) forwards;
}
.button-container-1 button:hover { animation: ani 0.7s steps(22) forwards; }

@keyframes ani {
    from { mask-position: 0 0; }
    to { mask-position: 100% 0; }
}
@keyframes ani2 {
    from { mask-position: 100% 0; }
    to { mask-position: 0 0; }
}





.promise-container { position: relative; top: 0vw; width: 100%; height: 10px; text-align: left; border-radius: 1vw; background-color: #fff; border: #002a66 solid 0.2vw; color: white; display: flex; align-items: center; overflow: hidden; font-family: cinzel; }
.static-text {margin: 0.2vw; padding: 1vw 2vw; border-radius: 1vw; border: #002a66 solid 0.2vw; color: #fff; position: relative; z-index: 2; white-space: nowrap; left: -0.2vw;
    background: conic-gradient(
        from 0deg,
        #bfa21f,
        #d4c272,
        #f0d86b,
        #bfa21f
    );
  }
.moving-text { font-size: 1.5rem; position: absolute; top: 50%; transform: translateY(-50%); left: 100%; color: #111; white-space: nowrap; animation: moveText 20s linear infinite; z-index: 1; }
@keyframes moveText {
    0% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}
  
@media (min-aspect-ratio: 3/4) and (max-aspect-ratio: 1/1) {
    .promise-container { height: 12px; margin-top: 10px;}
    .static-text { font-size: 2.5vw; }
    .moving-text { font-size: 3.5vw; }
}  
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 16/9) {
    .promise-container { height: 60px; margin-top: 3px; }
    .static-text { font-size: 2vw; padding: 1.5vw 2.5vw; }
    .moving-text { font-size: 2.5vw; }
}  
@media (min-aspect-ratio: 16/9) {
    .promise-container { height: 55px; margin-top: 1px; }
    .static-text { font-size: 1.5vw; padding: 1vw 2vw; }
    .moving-text { font-size: 1.5rem; }
}
@media (orientation: portrait) {
    .promise-container { height: 50px; margin-top: 3px; }
    .static-text { font-size: 3vw; padding: 10px 15px; }
    .moving-text { font-size: 3.5vw; }
}
@media (max-aspect-ratio: 3/5) {
    .promise-container { height: 30px; margin-top: 1px; }
    .static-text { font-size: 1rem; font-weight: 2; padding: 3px 4px; }
    .moving-text { font-size: 1rem; }
}





.pastor-card { background: #eae5e5; border-radius: 20px; box-shadow: 0px 4px 15px rgba(0,0,0,0.2); }
.pastor-title { font-family: 'Cinzel', serif; font-weight: 700; }
.pastor-verse, .pastor-body { font-family: 'Bodoni Moda', serif; font-size: 1.1rem; }
.pastor-name { font-family: 'Cinzel', serif; }
.btn-hover-effect { position: relative; overflow: hidden; border: 2px solid #c1a164 !important; background: #fff; color: #252525; transition: color 0.6s ease, border-color 0.6s ease; z-index: 1; }
.btn-hover-effect::before { content: ""; position: absolute; top: var(--y, 50%); left: var(--x, 50%); width: 0; height: 0; background-color: #c1a164; border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; z-index: -1; }  
.btn-hover-effect:hover::before { width: 300%; height: 300%; }  
.btn-hover-effect:hover { color: #fff; border-color: #c1a164; }





.video-container-wrapper { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; position: inherit; padding: 20px; margin-top: 1vw; background-color: #eae7e7; width: 99%; box-sizing: border-box; border-radius: 10px; margin-left: 0.5vw; }  
.video-container { width: 48%; position: relative; overflow: hidden; }  
.responsive-video { width: 100%; height: auto; display: block; }  
.paragraph-container { width: 48%; padding: 20px; line-height: 1.6; font-size: 1.7vw; font-family: 'Bodoni Moda', serif; text-align: justify; }  
.paragraph-container h4 { text-align: center; margin: 0 0 1rem 0; }






footer { background-color: #c1a164; color: white; padding: 2vw 2vw; font-family: 'Cinzel', serif; }  
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }  
.footer-content a { color: #fff; text-decoration: none; }  
.footer-content div { width: 30%; padding: 10px; box-sizing: border-box; }  
.footer-content .contactus-info p { margin: 8px 0; }
.footer-content .quick-links ul, .footer-content .legal ul { list-style-type: none; padding-left: 0; }
.footer-content .quick-links li, .footer-content .legal li { margin: 8px 0; }  
.footer-content .quick-links a, .footer-content .legal a { color: white; text-decoration: none; font-size: 14px; transition: color 0.3s; }  
.footer-content .quick-links a:hover, .footer-content .legal a:hover { color: #444; }  
.footer-bottom { text-align: center; border-top: 1px solid #fff; padding-top: 10px; }  
.footer-bottom p { margin: 0; font-size: 14px; line-height: 1vw; }
  
  /* Media Queries for All Ratios */  
  /* Ultra-wide screens (21:9 and wider) */
@media (min-aspect-ratio: 21/9) {
    footer { padding: 1.5vw 4vw; }
    .footer-content div { width: 28%; }
}

  /* Standard desktop (16:9) - base styles apply */  
  /* Large tablets & small desktops (4:3) */
@media (max-width: 1199px) {
    .footer-content { gap: 1rem; }
    .footer-content div { width: 30%; padding: 8px; }
}
  
  /* Tablets (3:4) */
@media (max-width: 991px) {
    .footer-content div { width: 45%; margin-bottom: 1rem; }
    .footer-bottom p { font-size: 13px; }
}

  /* Large phones (9:16) */
@media (max-width: 767px) {
    footer { padding: 3vw 4vw; }
    .footer-content { flex-direction: column; }
    .footer-content div { width: 100%; padding: 10px 0; }
    .footer-bottom p { font-size: 12px; line-height: 1.5; }
}

  /* Small phones (narrow) */
@media (max-width: 575px) {
    footer { padding: 4vw 5vw; }
    .footer-content a { font-size: 13px; }
    .footer-bottom { padding-top: 15px; }
}
  
  /* Portrait orientation adjustments */
@media (orientation: portrait) {
    /* Tablet portrait */
    @media (min-width: 768px) and (max-width: 991px) {
      .footer-content div { width: 48%; }
    }
    /* Phone portrait */
    @media (max-width: 575px) {
      .footer-content div { padding: 8px 0; }
    }
}

  /* Landscape */
@media (orientation: landscape) {
    /* Tablet */
    @media (max-width: 991px) {
      .footer-content div { width: 48%; }
    }
    /* Phone */
    @media (max-width: 767px) {
      .footer-content div { width: 30%; }
    }
}

  /* Square aspect ratio (1:1) */
@media (max-aspect-ratio: 1/1) {
    .footer-content { flex-direction: column; }
    .footer-content div { width: 100%; }
}  
  /* Very small screens */
@media (max-width: 399px) {
    footer { padding: 5vw; }
    .footer-content a, .footer-bottom p { font-size: 12px; }
}
  /* High density displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .footer-content a { font-weight: 500; }
}