﻿
body {
  margin: 0;
  font-size: 1rem; /* Base font size */
  }
  
  h1 {
  font-size: 2.5rem; /* 2.5 * 16 = 40px */
  padding: 30px 0px 30px 0px; text-align:center;


  }
  
  h2 {
  font-size: 1.875rem; /* 1.875 * 16 = 30px */
  padding: 20px 0px 20px 0px; text-align:center;
  }
  
  p {
  font-size: 1rem; /* 1 * 16 = 16px */
  }

:root{
     /* ============================================================
       CSS VARIABLES & RESET
    ============================================================ */
      --navy:       #0d2c54;
      --royal:      #1a4b8c;      
      --white:      #ffffff;
      --sky:        #2e7dd1;
      --sky-light:  #5ba3e8;
      --gold:       #c8922a;
      --button:     #005ecb;
      --off-white:  #f4f7fc;
      --text-dark:  #0d1f35;
      --text-mid:   #3d5275;
      --text-light: #6c8aad;
      --border:     #dce8f5;
      --border1:    #0d2c54;
      --nav-h:      72px;
      --radius:     12px;
      --shadow-sm:  0 2px 12px rgba(13,44,84,0.08);
      --shadow-md:  0 8px 32px rgba(13,44,84,0.14);
      --shadow-lg:  0 20px 60px rgba(13,44,84,0.18);
      --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
      --Battletoad: #25d366;
      --Intoxicate: #1fb855;
      --r-sm:8px;--r-md:14px;--r-lg:20px;
      /* WhatsApp Button color #25d366 (Battletoad) - Hover color #1fb855 (Intoxicate)*/
    }


*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;background:var(--white);color:var(--navy);/*font-size:15px;line-height:1.65;*/}
img{max-width:100%;height:auto;display:block;}

header {
  
    }
footer {
	background: #0d2c54;
	color: #ffffff;
}
footer h4 {
	color: #ffffff;
	padding-bottom:15px;
}

nav {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
     background: var(--royal); /*linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);*/

  padding: 0.5em;
  position: sticky;
  top: 0;
    z-index: 99;

  margin: 0; /*0.5em 0;*/
}
form {
  margin: 0.4em 0;
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
color: #FFFDF9;
  height: 100%;
  padding: 0 15px;
  text-decoration: none;
  display: flex;
  align-items: center;border-bottom: 2px solid transparent;

}
nav a:hover{/*
  background-color: #f3f4fb;
  color: #6c8aad;
  border-radius:8px;*/
  border-bottom: 2px solid var(--border);

}
nav a.active-link{
/* background-color: #f3f4fb;
 color: black;
  border-radius:8px;*/
  
  border-bottom: 2px solid var(--border);


}
nav li:first-child{
  margin-right: auto;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 300px;
 background: var(--navy); /*linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);/* background-color: #5C3D24;/*rgba(255, 255, 255, 0.15);*/
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  
}
.sidebar li{
  width: 100%;border-bottom: 2px solid var(--border1)
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;

  }
@media(max-width: 1000px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
    color: white;
    text-align:right;
  }
}

@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
}

.responsive {width: 100%;height: auto;}

.badge {
	background-color: #ffffff; /*#f3f4fb;*/
	border-radius:var(--r-sm);
	}
    #bg{
background-image: url('http://www.clbchayes.org.uk/images/webp/20190707_123450.webp');

background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
height: 600px;
}
    #bg-calender{
background-image: url('http://www.clbchayes.org.uk/images/webp/story-of-jesus.webp');

background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
height: 700px;
}


    #bg-calendar{
background-image: url('http://www.clbchayes.org.uk/images/webp/story-of-jesus.webp');

background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
height: 700px;


}


#bm{
background-image: url('http://www.clbchayes.org.uk/images/webp/youth.webp');

background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
height: 600px;
}


.responsive {width: 100%;height: auto;}

ul.breadcrumb {
  padding: 16px 20px;
  list-style: none;
  background-color: #fff;
  font-size: 1rem;
  color: #2e5283;
}
ul.breadcrumb li {
  display: inline;
  font-size: 1rem;
}
ul.breadcrumb li+li:before {
  padding: 4px;
  color: #2e5283;
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: #000000;
  text-decoration: underline;
}
ul.breadcrumb li a:hover {
  color: #000000;
  text-decoration: underline;
  font-style:italic;
}

 .divider {
      width: 56px;
      height: 3px;
      background: var(--button);
      /*background: linear-gradient(90deg, var(--navy), var(--royal));*/
      border-radius: 3px;
      margin-bottom: 1.25rem;
    }

    .divider-center { margin-left: auto; margin-right: auto; margin-bottom: 1.25rem;
      width: 112px;
      height: 3px;
      background: var(--button);
     /* background: linear-gradient(90deg, var(--bark), var(--clay));*/
      border-radius: 3px; }

   /* ============================================================
       UTILITY ANIMATIONS
    ============================================================ */
    .fade-in {
      animation: fadeUp 0.6s ease both;
    }

    .fade-in-delay-1 { animation-delay: 0.1s; }
    .fade-in-delay-2 { animation-delay: 0.2s; }
    .fade-in-delay-3 { animation-delay: 0.3s; }
    .fade-in-delay-4 { animation-delay: 0.4s; }

   
    
    @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
    }
    


.grid-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 10px;
  justify-content: center;
 padding: 30px 0px 30px 0px;
}
.grid-container > div{
  justify-content: center;
 padding: 30px 10px 30px 10px;
}

.grid-containers{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 5px;
  justify-content: center;
 
 color: var(--off-white);
}



.flex-container {
  display: flex;
  flex-wrap: wrap;
 /* justify-content: center;
  align-items: center;*/
}

.flex-container > div {
  /*background-color: #fff;*/
  width: 150px;
  margin: 10px;
  text-align: left;
  font-size: 1rem;
  flex-grow: 1;
  color: #ffffff;
  text-align: center;
}


  
.rcards{
      padding: .5rem .5rem;
      text-align: center;
      background-color:transparent;
      color:white
}

.r-card-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  grid-template-areas:
    "r-card";
     padding:0px 10px 5px 10px; background: var(--navy); /*linear-gradient(135deg, var(--navy), var(--royal));*/
}

.r-card-container > .r-card { grid-area: r-card;}

@media (min-width: 900px) {
  .r-card-container {
    grid-template-columns: 1fr min(1100px, 100%) 1fr;
    grid-template-areas:
      ".      r-card   ."
  }
}




 /* Pastor card */
    .pastor-card {
      background: linear-gradient(135deg, var(--navy), var(--royal));
      border-radius: 16px;
      padding: 1.5rem;
      text-align: center;
      color: #fff;
      box-shadow: var(--shadow-lg);
    }

    .pastor-avatar {
      width: 80px; height: 80px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.4rem;
      margin: 0 auto 1.25rem;
      border: 3px solid rgba(255,255,255,0.25);
    }

    .pastor-card h3 {
      font-size: 1.4rem;
      margin-bottom: 0.25rem;
      color:white;
    }

    .pastor-card .title {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sky-light);
      margin-bottom: 1.25rem;
    }

    .pastor-card p {
      font-size: 0.95rem;
      color: rgba(255,255,255,0.8);
      line-height: 1.75;
    }

  /* Divider */
    .divider {
      width: 56px;
      height: 3px;
      background: linear-gradient(90deg, var(--sky), var(--sky-light));
      border-radius: 3px;
      margin-bottom: 1rem;
    }

    .divider-center { margin-left: auto; margin-right: auto; margin-bottom: 1rem;
      width: 56px;
      height: 3px;
      background: linear-gradient(90deg, var(--sky), var(--sky-light));
      border-radius: 3px; }


    .welcome-visual {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }


    .stat-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 1.6rem 1.2rem;
      text-align: center;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      transition: transform var(--transition), box-shadow var(--transition);
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .stat-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }

    .stat-card .label {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-mid);
    }

    .stat-card .value {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--navy);
      margin: 0.25rem 0 0.15rem;
    }
    
  
    .giving-card {
    background: linear-gradient(135deg, var(--navy), var(--royal));
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    }
    
 

    .contact-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2rem 1.5rem;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }

    .contact-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .contact-card .c-icon {
      font-size: 2.2rem;
      margin-bottom: 0.75rem;
    }


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;right: 50%;
 /*bottom: 160px;
  right: 20px;*/
  z-index: 99;
  font-size: 14px;
border-radius: 8px;
background-color: #334191;/*#2e5283*/
border: 2px solid #ffffff4d;
color: #fff;padding:4px 12px;vertical-align:middle;overflow:hidden;text-decoration:none;text-align:center;cursor:pointer;white-space:nowrap;
}

#myBtn:hover {
  background-color: #005ecb; /*#446899;*/
}

.skip {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip:focus {
	position: static;
	width: auto;
	height: auto;
}
.norm {
	background: #ffffff; /*#1a4b8c;*/
	padding: 10px;
	color: #000;
}

.alt {
	background: #d9e0e9; /*#1a4b8c;*/
	padding: 10px;
	color: #0A0A0A;
}
.verse {
	background: #0d2c54; /*#1a4b8c;*/
	padding: 10px;
	color: #fff;
}


.triangle-verse {
  position: relative;
  background: #0d2c54; /*#1a4b8c; #0d2c54;*/
  height: 5vh;
  margin-bottom: 20px;
  border-radius:0px 0px 8px 8px;
}

.triangle-verse::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #0d2c54 transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  border-radius:12px 12px 0px 0px;
}

.triangle1-verse {
  position: relative;
  background: #0d2c54; /*#1a4b8c; #0d2c54;*/
  height: 5vh;
  border-radius:8px 8px 0px 0px;

}

.triangle1-verse::before {
  content: '';
  position: absolute;
  top:  0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #fff transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(0%);
  border-radius:12px 12px 0px 0px;
}


.triangle {
  position: relative;
  background: #d9e0e9; /*#0d2c54;*/
  height: 5vh;
  margin-bottom: 20px;
  border-radius:0px 0px 8px 8px;
}

.triangle::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #d9e0e9 transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  border-radius:18px 18px 0px 0px;

}


.triangle1 {
  position: relative;
  background: #d9e0e9; /*#0d2c54;*/
  height: 5vh;
  border-radius:8px 8px 0px 0px;
}

.triangle1::before {
  content: '';
  position: absolute;
  top:  0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #fff transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(0%);
  border-radius:18px 18px 0px 0px;

}

 /*  new  */
 
.card-clbc-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 15px;
    padding: 50px 0;
    gap: 40px 60px;
}

.card-clbc {
    position: relative;
   /*idth: 350px;
    height: 350px;*/
      background: var(--white);
      border-radius: 50% / 10%; /*var(--radius);*/
     /* padding: 1.6rem 1.2rem;*/
      text-align: center;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      transition: transform var(--transition), box-shadow var(--transition);/*animation: fadeUp 0.7s ease both;*/
    }
.sm-size {
    width: 250px;
    height: 350px;
    }
.me-size {
    width: 350px;
    height: 400px;
    }
.lg-size {
    width: 350px;
    height: 550px;
    }
    
.size {
    width: 350px;
    height: 270px;
    
    }

.card-clbc-content li {
	text-align:left;
}
   
.card-clbc-content li.e:nth-child(even){background: #f0f8ff;} 
.card-clbc-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding:  0px;
    gap: 15px;/*animation: fadeUp 0.8s ease both;*/
}
    
.card-clbc-content h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    /*color: var(--clr);*/
    font-variant-caps: petite-caps;
    letter-spacing:2px;
}
    
.card-clbc-content p {
font-size: 1rem;	
}   
    
.card-clbc img {
   /* border-radius: 16%;*/
    border-radius:  50% / 10%; /*12px 12px 0px 0px;*/width: 100%;height: auto;}

.card-clbc-content a:hover {
    color: #6c8aad;
}

.card-clbc:hover {
   /* border-radius: 16%;
    border-radius: 12px 12px 50px 0px;*/
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);}


/* Progress bar */

 div#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #006cfa;
    z-index: 500;
}


h1, h2 {color:#2d397f;margin-bottom: 20px;font-variant-caps: petite-caps;letter-spacing:4px; text-align:center;}
h3, h4 {color:#334191;margin-bottom: 20px;font-variant-caps: petite-caps;letter-spacing:4px; text-align:center;}
h5 {color:#2d397f;margin-bottom: 20px;font-variant-caps: petite-caps;letter-spacing:4px; text-align:left;}

.latest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;}
.latest-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;box-shadow: var(--shadow-sm);
;transition:transform var(--transition);display:flex;flex-direction:column;}
.latest-card:hover{transform:translateY(-4px);box-shadow:var(--sh-md);}
.latest-card.pinned{border-color:var(--navy);}
.card-top{padding:20px 20px 0;display:flex;align-items:flex-start;gap:14px;}
.card-icon{width:44px;height:44px;flex-shrink:0;background:linear-gradient(135deg,var(--sky),var(--sky-light));border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;}
.latest-card.pinned .card-icon{background:linear-gradient(135deg,var(--bark),var(--clay-dk));}
.card-meta{flex:1;min-width:0;}
.card-label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--title);margin-bottom:4px;}
.latest-card.pinned .card-label{color:var(--navy);}
.card-title{font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:600;color:var(--navy);line-height:1.3;margin-bottom:4px;}
.card-detail{font-size:12px;color:var(--sky);line-height:1.5;}
.card-audio{padding:14px 20px 0;}
.card-audio audio{width:100%;height:36px;accent-color:var(--navy);border-radius:8px;}
.card-actions{display:flex;gap:8px;padding:14px 20px 18px;margin-top:auto;}



 /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.55rem 1.5rem;/*padding: 0.85rem 2rem;*/
      border-radius: 9999px;/*border-radius: 8px;*/
      font-family: 'Lato', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      margin: 10px 10px 10px 10px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
      text-decoration:none;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-blue {
      background: var(--button);
      color: var(--white);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
    }
    .btn-blue:hover {
      background: transparent;
      border-color: var(--button);box-shadow: var(--shadow-md);
      color: var(--sky);
    }
    .btn-white {
      background: transparent;
      color: var(--button);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--button);
    }
    .btn-white:hover {
      background: var(--button);
      color: var(--white);
      box-shadow: var(--shadow-md);
          }
    .btn-whatsapp {  
      background: transparent;
      color: var(--Intoxicate);
      border: 1px solid var(--Battletoad);
      box-shadow: var(--shadow-sm);  
    }
    .btn-whatsapp:hover {   
      background: var(--Intoxicate);
      border-color: var(--Intoxicate);
      color: var(--white);
      box-shadow: var(--shadow-md);
    }

     .btn-whatsapp1 {
      background: var(--Intoxicate);
      color: var(--white);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--Intoxicate);
    }
    .btn-whatsapp1:hover {
      background: transparent;
      border-color: var(--Intoxicate);box-shadow: var(--shadow-md);
      color: var(--Intoxicate);
    }
    /* WhatsApp Button color #25d366 (Battletoad) - Hover color #1fb855 (Intoxicate)*/

  /* .div-padding{padding:30px 50px 30px 50px;}*/




    /* ============================================================
       VERSE BANNER
    ============================================================ */
    .prayer {
      background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
      padding: 4rem 0.75rem;
      text-align: center;
    }

    .verse-banner {
      background: #0d2c54; /* linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);*/
      padding: 4rem 2.5rem;
      text-align: center;
    }

    .verse-banner blockquote {
      max-width: 680px;
      margin: 0 auto;
    }

    .verse-banner blockquote p {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.2rem, 2.5vw, 1.65rem);
      font-style: italic;
      color: var(--white);
      line-height: 1.65;
      margin-bottom: 1rem;
    }

    .verse-banner blockquote cite {
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sky-light);
    }


/*li.e {background:white; padding:10px; margin:5px;} 
   li.e:nth-child(even){background-color: #f3f4fb;} */
  li.d {min-height: 65px; background:white; padding:5px; margin:0px;}

  li.f {min-height: 25px; background:white; padding:5px; margin:0px;}

   .square {height: 45px;width: 40px;background-color: #fff;TEXT-ALIGN: CENTER;float: left;font-size: 12px;margin-right:10px;margin-bottom:10px;font-weight:bold;border: 1px solid #cccccc;border-radius:4px;}
 
   .squares {height: 18px;width: 55px;background-color: #fff;TEXT-ALIGN: CENTER;float: left;font-size: 12px;margin-right:10px;margin-bottom:30px;font-weight:bold;border: 1px solid #cccccc;border-radius:4px;}

   .square-clbc {height: 18px;width: 25px;background-color: #fff;TEXT-ALIGN: CENTER;float: left;font-size: 12px;margin-right:10px;margin-bottom:12px;font-weight:bold;border: 1px solid #cccccc;border-radius:4px;}
 
 

