:root {
    --diocese-blue: #1a365d;
    --diocese-gold: #c4a14e;
    --diocese-logo: #f2ce63;
    --diocese-rose: #de2d73;
    --diocese-light: #f8f9fa;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: var(--diocese-blue);
    background: url(../images/bg-img.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
  }

  #logoImage {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* For mobile screens (less than 768px) */
@media (max-width: 768px) {
  #logoImage {
    max-width: 250px;
  }
}

/* ----------------Dropdown--------- */
 /* Mega Dropdown inside Navbar Container */
.mega-dropdown {
  position: absolute;
  right: 0;
  width: 60%;
  padding: 20px;
  top: 70%;
}

@media (max-width: 989px){
    .mega-dropdown {
  width: 100%;
}
#navbarNav {
    background: #ffeff5;
  text-align: center;
  border-radius: 20px;
}
}

/* Glass Style */
.glass-style {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  border-radius: 15px;
}

@media (max-width: 989px){
    .glass-style {
  background: #de2d74e1;

}
}

.glass-style .dropdown-item {
  color: #fff;
  transition: background 0.3s ease;
}

.glass-style .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Dark background after scroll */
.glass-style.scrolled {
  background: #de2d74e1;
  /* background: #1a2e5cd3; */
  backdrop-filter: none;
  border: none;
}

.glass-style.scrolled .dropdown-item {
  color: #fff;
}

.glass-style.scrolled .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* -------------------------- */

  
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--diocese-blue);
    margin-bottom: 1rem;
  }
  
  .btn-primary-diocese {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .btn-primary-diocese:hover {
    background-color: rgba(255, 255, 255, 0.363);
    color: #fff;
    transform: translateY(-2px);
  }
  
  
  .btn-primary-diocese1 {
    position: relative; /* Important */
    overflow: hidden; /* Important */
    background-color: transparent;
    color: var(--diocese-rose);
    border: 2px solid var(--diocese-rose);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 1; /* Important for layering */
  }
  
  .btn-primary-diocese1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e03076;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
    z-index: -1;
  }
  
  .btn-primary-diocese1:hover, .btn-primary-diocese1:focus {
    color: #fff;
  }
  
  .btn-primary-diocese1:hover::before, .btn-primary-diocese1:focus::before {
    transform: scaleX(1);
  }
  
  .btn-primary-diocese1:active {
    transform: scale(0.9);
  }
  

  .btn-secondary-diocese {
    background-color: var(--diocese-gold);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .btn-secondary-diocese:hover {
    background-color: rgba(196, 161, 78, 0.9);
    transform: translateY(-2px);
  }
  

  
  .hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(26, 54, 93, 0.6), rgba(26, 54, 93, 0.71));

  }
  


  .bishop-bg {
    background: url("https://crds-media.imgix.net/jxgWKdurcetCoyQUOon9t/1b2970bb7cc17df689f18558f90556fe/crds-home-graph-paper.png?q=75&w=580&auto=format");
  width: 50%;
  height: 300px;
  position: absolute;
  left: 0;
  opacity: 0.4;
  }
  .formerbishop-bg {
    background: url("https://crds-media.imgix.net/jxgWKdurcetCoyQUOon9t/1b2970bb7cc17df689f18558f90556fe/crds-home-graph-paper.png?q=75&w=580&auto=format");
  width: 50%;
  height: 300px;
  position: absolute;
  right: 0;
  opacity: 0.4;
  }
  .birthday-bg {
    background: url("https://crds-media.imgix.net/jxgWKdurcetCoyQUOon9t/1b2970bb7cc17df689f18558f90556fe/crds-home-graph-paper.png?q=75&w=580&auto=format");
  width: 100%;
  height: 300px;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  }
  
  /*=======navbar===========*/
  
  .nav-link {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.nav-link:focus,
.nav-link:active,
.nav-link:hover {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: inherit !important; /* Keeps original text color */
  background: transparent !important; /* Removes any background */
}


  .nav-item .nav-link {
      color: #fff;
  }
  .nav-item .nav-link:hover {
      color: #fff !important;
  }
  
  @media (max-width: 989px) {
  
  .nav-item .nav-link {
      color: #000;
  }
  .nav-item .nav-link:hover {
      color: #000 !important;
  }
  
}
  .navbar-diocese {
    transition: all 0.3s;
  }
  
  .navbar-scrolled {
    background-color: #ffeff5 !important;
    /* background-color: #fff8e8 !important; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  #logoImage {
    transition: 0.2s ease; /* smooth transition for all changes */
}
  
  .navbar-scrolled .nav-link, .navbar-scrolled .navbar-brand {
    color: var(--diocese-blue) !important;
  }
  .navbar-scrolled:hover .nav-link, .navbar-scrolled:hover .navbar-brand {
    color: var(--diocese-blue) !important;
  }
  
  .diocese-card {
    transition: all 0.3s;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .diocese-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.5;
    cursor: pointer;
  }
  
  .gallery-item img {
    transition: transform 0.5s;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 54, 93, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
  }
  
  .gallery-item:hover .gallery-overlay {
    background-color: rgba(26, 54, 93, 0.6);
    opacity: 1;
  }

  .bg-school-yellow {
    background-color: var(--diocese-blue);
  }


  /* -------------------Accordian----------------------- */

  .accordion {
    border: none;
  }

  .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .accordion-item:first-of-type,
  .accordion-item:first-of-type .accordion-button {
    border-radius: 10px;
  }

  .accordion-button {
display: flex;
align-items: center;
width: 100%;
font-size: 1rem;
font-weight: 600;
color: #000;
background-color: #ffdb87;
border: none;
border-radius: 10px;
/* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); */
position: relative;
overflow: hidden;
transition: all 0.4s ease;
}

.accordion-button span {
position: relative;
z-index: 1;
transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.accordion-button:hover span {
transform: translateX(5px);
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}


.accordion-button:not(.collapsed) {
background-color: #1a365d;
color: #fff;

}

.accordion-button:focus {
outline: none;
box-shadow: none;
}

  .accordion-item:last-of-type .accordion-button.collapsed {
border-radius: 10px;
}

.accordion-button:not(.collapsed)::after {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

  /*------------------Table--------------------*/
  
      .table-wrapper {
      /*border: 2px solid #1a2e5c;*/
      /*border-radius: 18px;*/
      overflow: hidden;
      padding: 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      background-color: white;
    }

    .custom-table {
      margin: 0;
      border: none;
    }

    .custom-table thead {
      background: linear-gradient(90deg, #1a2e5c, #f9d07a);
      color: #333;
      transition: background 0.6s ease-in-out;
    }

    .custom-table thead:hover {
      background: linear-gradient(90deg, #f9d07a, #1a2e5c);
    }

    /* .custom-table th {
      text-transform: uppercase;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 1rem;
      text-align: center;
      border-bottom: 2px solid #f9d07a;
    } */

    .custom-table th {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 1rem;
	text-align: center;
	border-bottom: 2px solid #1a2e5c;
	background: #f9d07a;
}

    .custom-table td {
      text-align: center;
      vertical-align: middle;
      padding: 0.9rem;
      font-size: 0.9rem;
      border-bottom: 1px solid #eee;
    }

    .custom-table tbody tr:hover {
      background-color: #fff6f9;
      transition: background 0.3s ease;
    }
    
    

  /* ------------Page Section---------------- */

  .hero-about {
    height: 40vh;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .page-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  .page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.69); */
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.6), rgba(26, 54, 93, 0.71));
    z-index: 2;
  }
  
  .hero-title {
    z-index: 3;
  }
  
  .intro-sec {
    padding: 90px 0;
    background: linear-gradient(to bottom, #ffeff5f2, #ffe5aec4);
  }
  
    .intro-sec ul li {
    line-height: 25px;
    background: url(../images/6687942.png) no-repeat left 5px;
    padding: 5px 11px 5px 31px;
    list-style: none;
    margin: 0;
    vertical-align: middle;
    font-size: 15px;
    font-weight: 400;
    color: #312f2c;
    
  }
  
  .birthday-image {
    width:200px;
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  }
  
  @media (max-width: 768px) {

      .birthday-image {
    width:200px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  }

  }
  

  /* ===========POP Message========== */

  #pop .pop-msg {
	position: relative;
	background: #327AFE;
	border-radius: 10px;
	/*padding: 45px 80px 50px 60px;*/
	/*margin: 0px 100px 20px;*/
	background-position: bottom right !important;
	background-size: 50% !important;
	background-repeat: no-repeat !important;
}
  
  @media (max-width: 575.98px) {
  .pop-msg h6 {
    width: 50%;
  }
}

/*==========Paggination Parish List==========*/

.btn-group .btn-pagg {
  border-radius: 50px !important;
  transition: all 0.3s ease;
}
.btn-group .btn-pagg-active {
  border-radius: 50px !important;
  background-color: transparent;
  border: 2px solid #0d6efd;
  color: #0d6efd;
}




  
  