  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
      @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif}
body{
    background:gray;
    color:#eaeaea;
    line-height:1.6;
        background: #f4f1ea;
        margin: 0;
        max-width: 100%;
      
        
      }


.navbar{
    position:sticky; 
    top:0;
    z-index:100;
    background:#161b22;
    box-shadow:0 2px 8px rgba(0,0,0,0.4)}
.container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:90%;
    margin:auto;
    padding:0.8rem 1.5rem}


.logo{
    width: 250px;
}


.nav-links{
    display:flex;
    gap:1.5rem;
    transition:all 0.3s ease}
.nav-links a{
    font-size: 20px;
    text-decoration:none;
    color:whitesmoke;
    font-weight:500;
    position:relative;
    padding:5px 0}
.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:#29bacd;
    transition:0.3s}
.nav-links a:hover{
    color:#eaeaea}
.nav-links a:hover::after,.nav-links a.active::after{
    width:100%}
.nav-links a.active{
    color:#00bcd4}


.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:space-between;
    width:24px;
    height:18px;
    background:none;
    border:none;
    cursor:pointer}
.menu-toggle .bar{
    width:100%;
    height:3px;
    background:#eaeaea;
    border-radius:2px;
    transition:0.3s}
.menu-toggle.active .bar:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.menu-toggle.active .bar:nth-child(2){opacity:0}
.menu-toggle.active .bar:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}


@media(max-width:1165px){
.menu-toggle{
    display:flex}
.nav-links{
    position:absolute;
    top:62px;
    left:0;
    width:100%;
    background:rgba(22, 27, 34, 0.9);
    flex-direction:column;
    align-items:center;
    max-height:0;
    overflow:hidden;
    border-top:1px solid rgba(255,255,255,0.1)}
.nav-links.open{
    max-height:480px;
    padding:1rem 0}
.nav-links a{
    color: #eaeaea;
    padding:0.4rem 0;
    width:100%;
    text-align:center}
}

      /* Home Section */
      #home {
        min-height: 100vh;
        width: 100%;
        background-image: linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
          ),
          url("img/jshp-photo.jpg");
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
      .text-box {
        width: 100%;
        color: #fff;
        padding: 0 20px;
      }
      .text-box h1 {
        font-size: 45px;
        color: white;
        margin-bottom: 10px;
      }
      .text-box h6 {
        font-size: 25px;
        margin-bottom: 15px;
        font-weight: 400;
      }
      .text-box p {
        font-size: 25px;
        font-style: italic;
        margin: 10px 0;
        color: #fff;
        text-align: center;
      }
      .emblem {
        width: 150px;
        height: auto;
        margin: 20px 0;
      }
      .text-box h4 {
        font-size: 25px;
        margin-top: 3px;
        text-align: center;
      }

      @media (max-width: 1135px) {
        .text-box h1 {
          font-size: 32px;
        }
        .text-box h6 {
          font-size: 20px;
        }
        .text-box p {
          font-size: 19px;
          color: #fff;
          text-align: center;
        }
        .emblem {
          width: 110px;
        }
        .text-box h3 {
          font-size: 19px;
        }
      }

      @media (max-width: 899px) {
        .text-box h1 {
          font-size: 24px;
        }
        .text-box h6 {
          font-size: 16px;
        }
        .text-box p {
          font-size: 15px;
          color: #fff;
          text-align: center;
        }
        .emblem {
          width: 90px;
        }
        .text-box h3 {
          font-size: 15px;
        }
      }

       /* About Section */

      #about {
        max-width: 1000px;
        margin: 10px auto;
        padding: 20px 20px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
      }
      h1 {
        text-align: center;
        color: #3b6b49;
        margin-bottom: 30px;
        font-size: 2em;
      }
      #about h1::after {
        content: "";
        display: block;
        width: 100%;
        height: 4px;
        background-color: #3b6b49;
        margin: 10px auto 0 auto;
      }

      #about p {
        text-align: justify;
        margin-bottom: 16px;
        text-indent: 2em;
        font-size: 1em;
        color: #000;
      }
      .about p:first-of-type::first-letter {
        float: none;
        font-size: 2.5em;
        line-height: 1.2;
        margin-right: 0.2em;
        font-weight: bold;
        color: #3b6b49;
      }

      @media (max-width: 768px) {
        .about-content {
          grid-template-columns: 1fr;
        }
        .about-highlights {
          grid-template-columns: 1fr;
        }
      }
 .container-history {
        max-width: 100%;
        margin: 2px auto;
        padding: 10px 20px;
        background: #fff;
        border-radius: 12px;
        color: #000;
      }
      .container-history h2{
        font-size: 2em;
        color: #3b6b49;
      }
      .container-history h2 {
        text-align: center;
        color: #3b6b49;
        margin-bottom: 0px;
        font-size: 1.2em;
      }
      .meta::after {
        content: "";
        display: block;
        width: 100%;
        height: 4px;
        background-color: #3b6b49;
        margin: 10px auto 0 auto;
      }

      h2 {
        color: #3b6b49;
        margin-bottom: 30px;
        font-size: 1em;
        text-decoration: underline;
      }
      .columns {
        column-count: 2;
        column-gap: 50px;
        column-rule: 2px solid #02664e;
      }
      p {
        text-align: justify;
        margin-bottom: 16px;
        text-indent: 2em;
        font-size: 1em;
        color: #000;
      }
      h3{
        text-align: justify;
        margin-bottom: 16px;
        text-indent: 2em;
        font-size: 1em;
        font-weight: 400;
        color: #000;
      }
     .columns h3:first-of-type::first-letter {
       float: none;
       font-size: 2.5em;
       line-height: 1.2;
        margin-right: 0.2em;
       font-weight: bold;
      color: #3b6b49;
}
 .tight-list {
    margin-top: 0em;   /* removes extra space above the list */
    padding-left: 1.8em; /* keeps proper indentation */
  }
  .tight-list li {
    margin-bottom: 0.1em; /* optional: reduce spacing between list items */
    color: #000;
  }
    ol > li .members {
    list-style-type: lower-alpha; /* alphabetical */
    padding-left: 20px; /* small indent under main person */
    margin: 0;
    color: #000;
  }
.members li {
    margin-bottom: 6px; 
    color: #000;
  }
  .Programme {
        text-align: center
      }

      .meta{
      color:#3b6b49bc;
      margin-bottom:10px;
      margin-top: 5px;
}
.columns h3, li, p {
  color: #000;
}
.qoute{
  color: #000;
}

.Programme {
        display: inline-block;
        text-align: center;
        padding-left: 0; /* ✅ remove number space */
        margin: 0 auto 6px auto;
        list-style: none; /* ✅ removes numbers */
      }

      .Programme li {
        margin-bottom: 10px;
        line-height: 1.6;
      }

      .Programme li:last-child {
        margin-bottom: 2px;
      }

      .post {
        font-weight: bold;
      }

      .Mr {
        margin-left: 6px;
      }

      /* ===== Tight List Inline WITH Numbers ===== */
      .presbytery-list {
        padding-left: 0;
        margin-top: 2px;
        margin-bottom: 0;
        text-align: center;
      }

      .presbytery-list li {
        display: inline-block;
        margin-right: 16px;
        white-space: nowrap;
      }


  

      @media (max-width: 900px) {
        .columns {
          column-count: 1;
          column-gap: 0;
          column-rule: none;
        }
        h3::first-letter {
          font-size: 2em;
        }
      }

      /* ✅ ABOUT SECTION STYLE */
      
     #about .show-modal {
  display: block;
  margin: 20px auto;   /* ✅ Centers the button horizontally */
}


      .show-modal {
         display: inline-block;
          padding: 12px 100px;
          border-radius: 10px;
          border: none;
          font-size: 16px;
          font-weight: 700;
          background: linear-gradient(180deg, #00b6c7, #008a97);
          color: white;
          cursor: pointer;
          transition: transform 0.18s ease, box-shadow 0.18s ease;
      }
      .show-modal:active {
          transform: translateY(1px);
        }
      .show-modal:hover {
        box-shadow: 0 25px 30px rgba(0, 136, 150, 0.16);
        background: linear-gradient(180deg, #30939c, #017681);
      }

      .bottom-sheet {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        opacity: 0;
        pointer-events: none;
        align-items: center;
        flex-direction: column;
        justify-content: flex-end;
        transition: 0.1s linear;
      }

      .bottom-sheet.show {
        opacity: 1;
        pointer-events: auto;
      }

      .bottom-sheet .sheet-overlay {
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        opacity: 0.2;
        background: #000;
      }

      .bottom-sheet .content {
        width: 100%;
        position: relative;
        background: #fff;
        max-height: 100vh;
        height: 50vh;
        max-width: 1150px;
        padding: 25px 30px;
        transform: translateY(100%);
        border-radius: 12px 12px 0 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
        transition: 0.3s ease;
      }

      .bottom-sheet.show .content {
        transform: translateY(0%);
      }

      .bottom-sheet.dragging .content {
        transition: none;
      }

      .bottom-sheet.fullscreen .content {
        border-radius: 0;
        overflow-y: hidden;
      }

      .bottom-sheet .header {
        position: static;
        display: flex;
        justify-content: center;
      }

      .header .drag-icon {
        cursor: grab;
        user-select: none;
        padding: 15px;
        margin-top: -15px;
      }

      .header .drag-icon span {
        height: 4px;
        width: 40px;
        display: block;
        background: #c7d0e1;
        border-radius: 50px;
      }

      .bottom-sheet .container-history {
        height: 100%;
        overflow-y: auto;
        padding: 15px 0 40px;
        scrollbar-width: none;
      }

      .bottom-sheet .container-history::-webkit-scrollbar {
        width: 0;
      }

      .bottom-sheet .container-history h2 {
        font-size: 1.8rem;
        text-align: center;
      }

      .bottom-sheet .container-history p {
        margin-top: 20px;
        font-size: 1.05rem;
      }

      .close-btn {
        position: absolute;
        right: 15px;
        top: 15px;
        border: none;
        background: transparent;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #036254;
        transition: 0.2s;
        z-index: 9999;    
      }

      .close-btn:hover {
        color: #069edf;
        transform: scale(1.1);
      }

      .back-btn {
  display: block;
  margin: 20px auto 10px auto;
  padding: 10px 100px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(180deg, #00b6c7, #008a97);
  color: white;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.back-btn:active {
  transform: translateY(1px);
}

.back-btn:hover {
  box-shadow: 0 25px 30px rgba(0, 136, 150, 0.16);
  background: linear-gradient(180deg, #30939c, #017681);
}
/* Gallery Section*/
  #gallery {
         background-image: linear-gradient(
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.1)
          ),
          url("img/bgv5.jpg");
           min-height: 100vh; 
          padding: 56px 0px;
          background-size: cover;
        background-position: center;
        scroll-margin-top: 120px;

        font-family: "Poppins", sans-serif;
      }

      .headinggallery {
        text-align: center;
        font-size: 40px;
        margin-bottom: 35px;
        font-weight: 900;
        color: #ffffff;
        letter-spacing: 1px;
      }

      /* ---- Responsive Modern Grid ---- */
      .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 25px;
        max-width: 1350px;
        margin: auto;
      }

      /* ---- Gallery Card ---- */
      .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transition: 0.3s ease;
        cursor: pointer;
      }

      .gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
      }

      .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 18px;
        transition: 0.5s ease;
      }

      .gallery-item:hover img {
        transform: scale(1.08);
      }

      /* ---- Modal ---- */
      .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease;
      }

      .modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 12px;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
        animation: zoomIn 0.3s ease;
      }
      /* Button container */
      .buttons {
        margin-top: 35px;
        display: flex;
        justify-content: center;
        gap: 20px;
      }

      /* New button style */
      .btn-gallery {
        background: linear-gradient(180deg, #00b6c7, #008a97);
        color: #fffdf8;
        padding: 12px 100px;
        border-radius: 10px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        border: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        cursor: pointer;
         transition: transform 0.18s ease, box-shadow 0.18s ease;
        letter-spacing: 0.5px;
      }
      .btn-gallery:active {
        transform: translateY(1px);
      }

      .btn-gallery:hover {
        background: linear-gradient(180deg, #30939c, #017681);
        transform: translateY(-1px);
         box-shadow: 0 25px 30px rgba(0, 136, 150, 0.16);
      }

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

      @keyframes zoomIn {
        from {
          transform: scale(0.7);
        }
        to {
          transform: scale(1);
        }
      }

      /* Mobile fix */
      @media (max-width: 450px) {
        #gallery {
          padding: 15px;
        }
        .headinggallery {
          font-size: 26px;
        }
        .gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      }
      }

     /* video section*/
    #video {
      font-family: "Georgia", serif;
        background-image: linear-gradient(
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.1)
          ),
          url("/OfficialMainIndex/img/bgv3.jpg");
            background-size: cover;
        background-position: center;
        margin: 0;
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #3b2c1a;
        transition: background 0.3s ease;
      }

      #video h1 {
        color: #3b6b49;
        text-align: center;
        
      }

      /* Grid layout */
      .video-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        width: 100%;
        max-width: 1300px;
      }

      .video-card {
        background: #81dbf1;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.3s ease;
      }

      .video-card:hover {
        transform: scale(1.02);
      }

      .video-box {
        background: #04455c;
        aspect-ratio: 16 / 9;
      }

      iframe {
        width: 100%;
        height: 100%;
        border: none;
      }

      .video-title {
        padding: 10px 15px;
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
        color:#01372a;
        border-top: 2px solid #81dbf1;
        background: #d2f6f8;
      }

      /* Button container */
      .buttons {
        margin-top: 35px;
        display: flex;
        justify-content: center;
        gap: 20px;
      }

      /* New button style */
      .btn-nav {
        width: 100%;
        background: linear-gradient(180deg, #00b6c7, #008a97);
        color: #fffdf8;
        padding: 12px 100px;
        border-radius: 10px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        border: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        cursor: pointer;
         transition: transform 0.18s ease, box-shadow 0.18s ease;
        letter-spacing: 0.5px;
      }
      .btn-nav:active {
        transform: translateY(1px);
      }

      .btn-nav:hover {
        background: linear-gradient(180deg, #30939c, #017681);
        transform: translateY(-1px);
         box-shadow: 0 25px 30px rgba(0, 136, 150, 0.16);
      }
       /* Responsive */
      @media (max-width: 1024px) {
        .video-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 700px) {
        .video-grid {
          grid-template-columns: 1fr;
        }
      }
/*video end --*/



     /* Contact Section section*/
  /* Global reset + box sizing */
        *,
        *::before,
        *::after {
          box-sizing: border-box;
        }

        body {
          margin: 0;
          padding: 0;
          height: 100%;
          font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial;
          background: linear-gradient(135deg, #e9f7fb, #ffffff);
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
        }

        /* Contact Section */
        #contact {
           background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
          ),
          url("img/cont5.jpg");
           min-height: 100vh; 
          padding: 56px 18px;
          background-size: cover;
        background-position: center;
        scroll-margin-top: 120px;
        }

        .section-title {
          text-align: center;
          font-size: 30px;
          font-weight: 700;
          margin: 0 0 28px;
          color: #ffffff;
        }

        .contact-container {
          max-width: 1100px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 28px;
          align-items: start;
        }

        /* Left info column */
        .contact-info {
          display: flex;
          flex-direction: column;
          gap: 18px;
        }

        .contact-item {
          display: flex;
          gap: 14px;
          align-items: flex-start;
          padding: 14px;
          border-radius: 12px;
          box-shadow: 0 8px 20px rgba(12, 44, 50, 0.06);
        }
        #contact a {
  color: inherit;
  text-decoration: none;
}

        .contact-icon {
          width: 46px;
          height: 46px;
          min-width: 46px;
          border-radius: 10px;
          background: linear-gradient(180deg, #00b6c7, #00a1b1);
          color: #fff;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          flex-shrink: 0;
        }

        .contact-details h4 {
          margin: 0 0 6px;
          font-size: 16px;
          color: #ffffff;
        }

        .contact-details p {
          margin: 0;
          font-size: 14px;
          color: #ffffff;
          line-height: 1.45;
          word-break: break-word;
        }

        /* Right form column */
        .contact-form {
          background: rgba(255, 255, 255, 0.95);
          padding: 24px;
          border-radius: 12px;
          box-shadow: 0 18px 35px rgba(7, 41, 47, 0.06);
          border: 1px solid rgba(0, 0, 0, 0.03);
        }

        .contact-form h5 {
          margin: 0 0 18px;
          font-size: 20px;
          color: #07373e;
          text-align: left;
        }

        .form-group {
          margin-bottom: 14px;
        }

        .form-group label {
          display: block;
          margin-bottom: 6px;
          font-size: 13px;
          color: #0b4a5a;
          font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
          width: 100%;
          padding: 12px 14px;
          border-radius: 10px;
          border: 1px solid #e4f0f2;
          background: #fff;
          font-size: 15px;
          color: #12343a;
          transition: box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
          color: #9fb5b8;
        }

        .form-group input:focus,
        .form-group textarea:focus {
          outline: none;
          border-color: #00b6c7;
          box-shadow: 0 6px 18px rgba(0, 182, 199, 0.12);
          background: #ffffff;
        }

        textarea.form-control {
          resize: vertical;
          min-height: 120px;
          max-height: 320px;
        }

        .submit-btn {
          display: inline-block;
          width: 100%;
          padding: 12px 16px;
          border-radius: 10px;
          border: none;
          font-size: 16px;
          font-weight: 700;
          background: linear-gradient(180deg, #00b6c7, #008a97);
          color: white;
          cursor: pointer;
          transition: transform 0.18s ease, box-shadow 0.18s ease;
        }

        .submit-btn:active {
          transform: translateY(1px);
        }

        .submit-btn:hover {
          box-shadow: 0 10px 30px rgba(0, 136, 150, 0.16);
        }

        #status {
          margin-top: 12px;
          text-align: center;
          font-size: 14px;
          font-weight: 600;
          color: #0b4a5a;
          min-height: 20px;
        }

        /* -------------------------
         Mobile adjustments (responsive)
         ------------------------- */
        @media (max-width: 960px) {
          .contact-container {
            gap: 22px;
          }
        }

        /* Stack columns and enlarge touch targets */
        @media (max-width: 780px) {
          #contact {
            padding: 32px 14px;
          }
          .section-title {
            font-size: 24px;
            margin-bottom: 18px;
          }

          .contact-container {
            grid-template-columns: 1fr;
          }

          .contact-item {
            padding: 12px;
            gap: 12px;
          }

          .contact-icon {
            width: 42px;
            height: 42px;
            font-size: 18px;
            border-radius: 10px;
          }

          .contact-form {
            padding: 18px;
          }

          .contact-details h4 {
            font-size: 15px;
          }
          .contact-details p {
            font-size: 14px;
          }

          .form-group input,
          .form-group textarea {
            padding: 12px;
            font-size: 15px;
          }

          .submit-btn {
            padding: 12px;
            font-size: 15px;
          }
        }

        /* Very small phones */
        @media (max-width: 420px) {
          #contact {
            padding: 24px 12px;
          }
          .section-title {
            font-size: 22px;
          }

          .contact-item {
            gap: 10px;
            padding: 10px;
          }
          .contact-icon {
            width: 40px;
            height: 40px;
            font-size: 17px;
          }
          .contact-details h4 {
            font-size: 14px;
          }
          .contact-details .Address {
            font-size: 13px;
          }

          .form-group label {
            font-size: 13px;
          }
          .form-group input,
          .form-group textarea {
            font-size: 14px;
            padding: 10px;
          }
          .submit-btn {
            font-size: 15px;
            padding: 12px;
          }
        }



  /*---footer---*/
 #footer{
    background-color: #021f2b;
    background-size: cover;
    background-position: center;
 }
 #footer h4{
    text-align: center;
    margin: 0;
    padding: .5rem 0;
    color: floralwhite;
  text-decoration: none !important;
 }
