/* General Styles */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
      /* max-width: 1000px !important; */
       max-width: 1200px !important;

    }
  }
body {
    /* font-family: Arial, sans-serif; */
   font-family:  "Open Sans", Segoe UI, Arial, sans-serif !important;
   font-size:15px;
    margin: 0;
    background: #f6eef7;
    padding: 0;
    box-sizing: border-box;
    /* background: #f6eef7 url('assets/Web/images/Web Background.png') no-repeat center center fixed; */
}

h1, h2, h3 {
    margin: 0;
    color: #6c3d75;
    
}
h4 {
    word-wrap: break-word;         /* Ensures words break to the next line */
    overflow-wrap: break-word;     /* Standard property for modern browsers */
    /* word-break: break-word;         */
    /* Breaks words when necessary */
    white-space: normal;           /* Ensures text wraps normally */
    max-width: 100%;               /* Prevents overflow */
  }

ul{
    margin-bottom: 0rem !important;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
p{
    font-size:14px;
    text-align: justify !important;
    font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
}
/* loader */
/* Loader Styles */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner Animation */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #3498db;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for Spinning */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade Out Effect */
.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Ensure the loader disappears completely */
.fade-out {
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}

/* menu */
/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: #fff; */
    margin:10px;
    padding:7px;
    /* border: 2px solid black; */
}

.logo {
    display: flex;
    align-items: center;
}

/* .logo img {
    height: 53px;
    height: 75px;
    margin-right: 5px;
} */
.logo img {
    height: 81px;
    margin-right: 5px;
    /* max-width: 100%; */
    /* height: auto; */
  }
  
  /* Mobile view adjustment (screens <= 600px) */
  @media (max-width: 600px) {
    .logo img {
      height: 61px; /* Reduce logo height on small screens */
    }
  }
  
.logo a {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    /* background: #f1f6fc; */
}

.menu li {
    position: relative;
    padding:0px;  
    border-right:1px solid #dfe1e2;
    border-bottom:1px solid #dfe1e2;
    border-top:1px solid #dfe1e2;
}

.menu a {
    text-decoration: none;
    color: black;
   background-color: #f1f6fc;
    font-size: 13px;
    width:100%;
    height:55px;
    display:flex !important;
    align-items: center !important;
    padding: 10px 15px; /* Add padding inside <a> instead */
    display: block;
}
.menu li :hover  {     
    background-color: #4dadff;     
    color: white;
}  

/* Responsive menu for mobile view */
@media (max-width: 768px) {
    .menu {
        flex-direction: column; /* Stack items vertically on small screens */
    }
}
/* Dropdowns */
.dropdown-menu,
.sub-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #f8fcfd;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
    min-width: 200px;
    list-style: none;
    padding: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.sub-dropdown-menu {
    left: 100%;
    top: 0;
}

.sub-dropdown:hover .sub-dropdown-menu {
    display: block;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 800px) {
    .menu {
        flex-direction: column;
        display: none;
        width: 100%;
        background: white;
    }

    .menu.active {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown-menu,
    .sub-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .dropdown.active > .dropdown-menu,
    .sub-dropdown.active > .sub-dropdown-menu {
        display: block;
    }
}
/* menu end */

.intro {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 1px;
    /* background-color:#f6eef7; */
}

.leaders {
    display: flex;
    gap: 20px;
}

.leader {
    text-align: center;
}

.latest-news {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin: 20px;
    border-radius: 5px;
    text-align: center;
}

.info-section {
    padding: 20px;
    /* background-color: #f6eef7; */
}


.former-prelates {
    padding: 20px;
    text-align: center;
    background-color: #f8f3f9;
    border-top: 1px solid #ddd;
    border-radius: 10px;
}

.former-prelates h2 {
    color: #4b0082;
    margin-bottom: 15px;
}

.former-prelates .prelates {
    display: flex;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
    padding: 10px;
}

.former-prelates .prelates img {
    border: 2px solid #4b0082;
    border-radius: 50%;
    height: 80px;
    width: 80px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .intro {
        flex-direction: column;
    }

   

    .leaders {
        flex-direction: column;
    }
}
/* tab */

       /* Tabs Container */
       .tabs-container {
        max-width: 700px;
        /* margin: auto; */
        margin-top: 33px;
        background: #f6eef7;
        height:px;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
        /* border: 3px solid #d1b6d6; */
        height: 476px;
        border: 5px solid #fff;
    }

    /* Tab Buttons */
    .tab-buttons {
        display: flex;
        /* background: #d1b6d6; */
        flex-wrap: wrap; /* Ensures responsiveness */
    
        gap: 5px; /* Creates space between buttons */
        border-radius: 5px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-buttons button {
        flex: none; /* Prevents buttons from stretching */
  padding: 9px;
  border: 3px solid #ece8e8;
  background: #d1b6d6;
  color: #333;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  text-transform: uppercase;
  outline: none;
  width:127.4px;
  display: inline-block; /* Ensures they behave like separate buttons */
  border-radius: 5px; /* Optional: Adds rounded corners */
}
    

    .tab-buttons button.active {
        background: #6c3d75;
        color: white;
    }

    /* Tab Content */
    .tab-content {
        display: none;
        padding: 15px;
        background: #f6eef7;
        height: 373px;
        overflow-y: auto;
        border: 2px solid #d1b6d6;
        border-radius: 5px;
        margin-top: 5px;
    }

    .tab-content.active {
        display: block;
    }

    /* Tab Content Styling */
    .tab-content h4 {
        margin: 10px 0;
        font-size: 14px;
        color: #6c3d75;
        background: #d9bdde;
        padding: 3px;
    }

    .tab-content a {
        text-decoration: none;
        color: #504df8;
        display: block;
        font-size: 13px;
        margin: 5px 0;
    }

    .tab-content a:hover {
        text-decoration: underline;
    }

    /* Responsive Dropdown for Small Screens */
    .tab-dropdown {
        display: none;
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ddd;
        background: #6c3d75;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: bold;
        color:#fff;
    }
    
    @media (max-width: 600px) {
        .tab-buttons {
            display: none;
        }

        .tab-dropdown {
            display: block;
        }
    }
    /* profile card */
    .profile-card {
        background: white;
        border-radius: 10px;
        text-align: center;
        padding: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        position: relative;
        overflow: hidden;
    }

    .profile-card:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    .profile-card img {
        width: 100%;
        height:139px !important;
        border-radius: 10px;
    }
/* 
    .profile-card .info {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        padding: 10px;
        border-radius: 5px;
        width: 80%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    } */

    .profile-card h4 {
        margin: 0;
        font-size: 15px;
        font-weight: bold;
        color: #6c3d75;
    }

    .profile-card p {
        margin: 0;
        font-size: 11px;
        color: gray;
    }
    .scroll-wrapper {
        display: flex;
        /* align-items: center; */
        justify-content: center;
        position: relative;
        width: 100%;
    }
    
    
    .scroll-left, .scroll-right {
        background: white;
        border: 1px solid #ddd;
        cursor: pointer;
        font-size: 20px;
        padding: 10px;
        margin: 5px;
        border-radius: 50%;
    }
    
    .scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 10px;
        white-space: nowrap;
        padding: 10px;
        max-width: 100%;
    }
    
    .scroll-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .scroll-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
    
    
    .profile-card {
        flex: 0 0 auto;
        width: 171.4px;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-radius: 10px;
        padding: 13px;
    }
    
    .profile-card img {
        width: 100%;
        border-radius: 8px;
    }
    
    .info h4 {
        font-size: 13px;
        margin: 2px 0;
    }
    
    .info p {
        color: #777;
        font-size: 11px;
    }
    @media (max-width: 768px) {
        .scroll-container {
            gap: 0; /* Remove spacing to ensure single card view */
        }
    
        .profile-card {
            width: 41vw; /* Make card take most of the screen */
        }
    }
    /* news */

            .news-container {
                background: #f6eef7;
                border-radius: 12px;
                padding: 10px;
                border: 5px solid #fff;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                text-align: center;
                max-width: 650px;
                /* margin: auto; */
                margin-top:30px;
            }
    
            .news-title {
                font-size: 18px;
                font-weight: bold;
                color: #6c3d75;
                text-align: left;
                margin-bottom: 10px;
            }
    
            .carousel-inner img {
                width: 100%;
                height: auto;
                max-height: 145px;
                border-radius: 12px;
                object-fit: cover;
            }
            .carousel-item {
                transition: transform 2.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth transition */
            }
            .carousel-control-prev, .carousel-control-next {
                filter: invert(100%);
            }
            
            /* Responsive Adjustments */
            @media (max-width: 768px) {
                .news-container {
                    max-width: 100%;
                }
                .news-title {
                    font-size: 18px;
                }
            }
            /* footer */
            .footer-wrapper {
                background-color: #ffffff; /* Rose border */
                padding: 5px; /* Space for inner white border */
                border-radius: 25px; /* Rounded corners */
                max-width: 560px; /* Maximum width */
                width: 100%; /* Full width on smaller screens */
                margin: 0 auto; /* Center the footer */
            }
            
            .footer-border {
                background-color: #f6eef7; /* White border */
                padding: 12px; /* Space between white and footer */
                border-radius: 20px; /* Rounded corners */
            }
            
            .footer {
                /* background-color: #0d2b60;  */
                background-color: #6c3d75; 
                color: white;
                padding:13px;
                border-radius: 15px; /* Inner rounded corners */
            }
            
    
            .footer h5 {
                font-weight: bold;
                margin-bottom: 12px;
                font-size: 12px;
            }
    
            .footer p, .footer a {
                font-size: 12.2px;
                color: white;
                text-decoration: none;
            }
    
            .footer a:hover {
                text-decoration: underline;
            }
    
            .quick-links ul {
                list-style: none; /* Remove default bullets */
                padding-left: 0;
            }
            
            .quick-links ul li {
                position: relative;
                padding-left: 20px; /* Space for the arrow */
            }
            
            .quick-links ul li::before {
                content: "➜"; /* Unicode arrow character */
                position: absolute;
                left: 0;
                color: white; /* Arrow color */
                font-size: 14px;
            }
    
            @media (max-width: 768px) {
                .footer {
                    text-align: center;
                }
    
                .quick-links ul {
                    padding: 0;
                    display: inline-block;
                    text-align: left;
                }
            }
            @media (max-width: 768px) {
                .footer {
                    text-align: center;
                }
            
              
            }
            @media (max-width: 768px) {
                .quick-links {
                    display: flex;
                    justify-content: center; /* Centers the column horizontally */
                    text-align: left; /* Ensures text remains left-aligned */
                    width: 100%; /* Takes full width for better alignment */
                }
            
                .quick-links ul {
                    display: inline-block; /* Ensures list items align properly */
                    padding-left: 0; /* Removes default padding */
                }
            
                .footer .row {
                    justify-content: center; /* Centers the columns inside the row */
                }
            }
            
            /* former */
            .prelates-container {
                background: #f6eef7; /* Soft purple */
                padding: 5px;
                border-radius: 15px;
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
                max-width: 800px;
                height:195px;
                /* padding-top:19px; */
                margin: 1px auto;
                border: 5px solid #fff;
            }
            
            .prelates-container h2 {
                font-size: 17px;
                font-weight: bold;
                color: #6c3d75;
                text-align: left;
                margin-left: 16px;
                margin-bottom: 10px;
            }
            
            .scroll-wrapper {
                display: flex;
                /* align-items: center; */
                position: relative;
                overflow: hidden;
                padding: 3px;
            }
            
            /* Scrollable Image Section */
            .image-scroll {
                display: flex;
                gap: 10px;
                overflow-x: auto;
                scroll-behavior: smooth;
                white-space: nowrap;
                width: 90%;
                margin: 0 auto;
                padding-bottom: 10px; /* Space for scrollbar */
            }
            
            /* Visible scrollbar */
            .image-scroll::-webkit-scrollbar {
                height: 8px;
            }
            
            .image-scroll::-webkit-scrollbar-track {
                background: #ddd;
                border-radius: 10px;
            }
            
            .image-scroll::-webkit-scrollbar-thumb {
                background: #6a359c;
                border-radius: 10px;
            }
            
            .image-scroll img {
                width: 120px;
                /* height: 95px; */
                height: 120px !important;
                object-fit: cover;
                border-radius: 8px;
                transition: transform 0.3s ease-in-out;
            }
            
            .image-scroll img:hover {
                transform: scale(1.1);
            }
            
            /* Scroll Buttons */
            .scroll-btn {
                background: #6c3d75;
                color: white;
                border: none;
                padding: 10px 15px;
                font-size: 18px;
                cursor: pointer;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                visibility: hidden; /* Initially hidden, appears when needed */
            }
            
            .scroll-btn.left {
                left: 0;
            }
            
            .scroll-btn.right {
                right: 0;
            }
            
            .scroll-btn:hover {
                background: #4b2375;
            }
            
            /* Responsive */
            @media (max-width: 600px) {
                .image-scroll img {
                    /* width: 90px; */
                    width:100%;
                    height: 120px;
                }
                .prelates-container{
                    margin-top:20px;
                }
            }
            /* calender */
            #calendar {
                width: 100%;
                max-width: 400px;
                margin: auto;
                text-align: center;
            }
            #calendar-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: #6c3d75;
                color: white;
                padding: 10px;
                border-radius: 5px;
            }
            #calendar-grid {
                display: grid;
                grid-template-columns: repeat(7, 1fr);
                gap: 5px;
                padding: 10px;
            }
            .calendar-day {
                width: 100%;
                padding: 10px;
                background: #f8f9fa;
                border-radius: 5px;
            }
            .calendar-day:hover {
                background: #6c3d75;
                color: white;
                cursor: pointer;
            }
            @media (max-width: 500px) {
                #calendar {
                    max-width: 100%;
                }
            }
            .galimg{
                height:100px;
            }
            /* bishop */

/* Profile Card */
/* Profile Card */
.profile-card4 {
    background: #f6eef7;
    border-radius: 10px;
    padding: 20px;
    max-width: 780px;
    text-align: center;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
}
.profile-card88 {
    flex: 0 0 auto;
    width: 105px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    
  }
/* Profile Image */
.profile-image4 img {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    border: 2px solid #6c3d75;
}
.profile-image00 img {
    flex: 0 0 auto;
    width: 161.4px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    padding: 13px;
}
@media screen and (max-width: 768px) {
    .profile-image00 img {
      width: 105% !important;
    }
  }
/* Profile Content */
.profile-content4 h2 {
    font-size: 18px;
    text-align: initial;
    font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
    color: #6c3d75;
    margin-top: 10px;
    margin-bottom: 10px;
}

.profile-content4 p {
    font-size: 15px;
    color: #333;
    text-align: justify;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-card4 {
        width: 94%;
    }
}
/* menu bishop */
.bishop-container {
    max-width: 400px;
    margin: 20px;
    font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
}

.bishop-list {
    list-style: none;
    padding: 0;
}


.bishop-list li:hover {
    color: #6c3d75;
    transform: translateX(5px); /* Moves the item 5px to the right */
    cursor: pointer;
}
.bishop-list li {
    position: relative;
    padding: 6px;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease; /* Smooth transition */
    position: relative; /* For proper transform rendering */
    cursor: pointer;
}
.bishop-list li a.selected {
    /* color: #4b0462; 
    text-decoration: underline; */
    color: #fff;
    display: block;
    padding:6px;
    text-decoration: none !important;
  background-color: #6c3d75;
  }
.bishop-list .toggle-icon {
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
}

.sub-menu {
    list-style: none;
    padding: 0;
    margin-left: 20px;
    display: none; /* Initially hidden */
}

.sub-menu li {
    padding: 5px 0;
}

.sub-menu a {
    text-decoration: none;
    color: #6c3d75;
}
/* When a submenu item is selected */
.sub-menu a.selected {
    color: #007bff; /* Blue color */
}
  
.sub-menu a:hover {
    text-decoration: underline;
}
/* section */
.bishoppro{
    padding:30px;
    border:12px solid #fff;
    /* background-color:#f6eef7 ; */
    border-image-outset: 20px;
}
/* priest */

/* Profile Card */
.profile-card5 {
    background: #f6eef7;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 680px;
    max-width: 780px;
    padding: 20px;
    border: 3px solid #fefdff;
}

/* Profile Header */
.profile-header5 {
    /* text-align: center;
    border-bottom: 2px solid #e6d1f2;
    padding-bottom: 15px;
    margin-bottom: 15px; */
    flex: 0 0 auto;
  width: 171.4px;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 10px;
  padding: 13px;
}

.profile-header5 img {
    /* width: 130px;
    height: 130px; */
    /* border-radius: 50%; */
    /* border: 3px solid #b889c9; */
}

.profile-header5 h2 {
    font-size: 18px;
    color: #6c3d75;
    text-align: initial;
    margin: 10px 0 5px;
}

.profile-header5 h2 span {
    font-size: 18px;
    color: #333;
}

/* Profile Content */
.profile-content5 {
    padding: 10px 0;
}

/* Info Row */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 3px 0;
}

.label {
    font-weight: 400;
    color: #6c3d75;
    flex: 1;
    text-align: left;
}

.value {
    flex: 1;
    text-align: left;
    padding-left:5px;
    color: #2c2a2a;
font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .profile-card5 {
        padding: 10px;
        width: 100%;
    }
    .profile-header5 h2 {
        font-size: 14px;
    }
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .value {
        text-align: left;
        margin-top: 3px;
    }
}
/* Search Box */
#searchBox {
    width: 50%;
    height:40px;
    padding: 10px;
    align-items: flex-end;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
 /* Align to right */
 display: block;
 margin-left: auto;
 margin-right: 0;
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.pagination button {
    background-color: #6c3d75;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination span {
    font-weight: bold;
}

/* parish */
.church-container {
    max-width: 780px;
    background: #f6eef7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}
.church-container img {
    width: 54.4%;
    border-radius: 10px;
    height: auto;
    /* border: 2px solid #a855c0; */
}

.church-details {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 3px 0;
    
    border-bottom: 1px solid #eee;
}
.detail-row span {
    font-size: 14px;
}
.label {
    /* font-weight: bold; */
    font-size:14px;
    font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
    color: #333;
    text-align: left;
    width: 40%;
}
.value {
    text-align: left;
    width: 55%;
}
.value a {
    color: blue;
    text-decoration: none;
}
.value a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .church-container {
        max-width: 100%;
    }
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .label, .value {
        width: 100%;
        text-align: left;
        padding-bottom: 4px;
    }
}
/* institution */
.hospital-container, .convent-container {
    max-width: 780px;
    background: #f6eef7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}
.image-box {
    width: 54.4%;
    height: 100%;
    background-color: #f7e6fa;
    border: 2px solid #a855c0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
   
    align-items: center;
}
.image-box img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain; /* or use cover based on your design */
  }
  
  /* Optional: adjust for smaller screens */
  @media (max-width: 768px) {
    .image-box {
      max-width: 90%;
      border-radius: 8px;
      width: 83.4%;
    }
  }
.image-box11 {
    width: 80%;
    height: 100%;
    background-color: #f7e6fa;
   
    border-radius: 10px;
    display: flex;
    margin-bottom:15px;
    justify-content: center;
    align-items: center;
}
.image-box2 {
    width: 54.4%;
    height: 100%;
    background-color: #f7e6fa;
    border: 2px solid #a855c0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hospital-details {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
}


@media (max-width: 600px) {
    .hospital-container, .convent-container {
        max-width: 100%;
    }
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .label, .value {
        width: 100%;
        text-align: left;
        padding-bottom: 4px;
    }
}
.nameins{
    padding-top:16px;
    font-size: 18px;
}
.menusingle{
    text-decoration: none;
    color: black;
    font-weight: 500;
    display: flex;
   
    transition: color 0.3s;
}
.menusingle:hover {

    color:#6c3d75;
}
/* Change the icon on hover */
.menusingle:hover .toggle-icon {
    content: "-";
}
/* administration */
/* Container */
.administration-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f1e0f8;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 5px solid #e0c5eb;
}

/* Individual Card Styling */
.card2 {
    padding: 10px 15px;
    border-left: 4px solid #6c3d75;
    margin-bottom: 15px;
}

.title {
    font-size: 16px;
    color: #6c3d75;
    font-weight: bold;
    margin-bottom: 5px;
}

.name {
    font-size: 16px;
    /* font-weight: bold; */
    color: black;
}

/* Responsive Design */
@media (max-width: 600px) {
    .administration-container {
        width: 90%;
        padding: 15px;
    }

    .card2 {
        padding: 8px 12px;
    }

    .title, .name {
        font-size: 14px;
    }
}
.department-dis{
    color:#6c3d75;
    text-decoration: underline;
}
.depp{
    text-align: justify;
    font-size: 14px;
}
.parishnm{
    margin-top:5px;
    color:#fff;
    background-color: #6c3d75;
    padding:6px;
    font-size: 20px;
}
.disc{
    font-size: 18px;
    color: #6c3d75;
}
.ins{
    color:#333232;
    text-decoration: none;
}
.ins:hover{
    color:#6c3d75;
    text-decoration: none;
}
.pdf-container {
    width: 100%;
    max-width: 780px;
    background: #f6eef7;
    padding: 10px;
    border-radius: 10px;
    border: 6px solid #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

button {
    background:#835e8a;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #bdaddf;
}

canvas {
    width: 100% !important;
    border-radius: 5px;
}
/* pdf viewr */
 /* CSS to style the PDF viewer and other elements */
 .pdf-viewer {
    display: none;
    /* Hide the PDF viewer by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 2px solid #ccc;
    z-index: 1000;
    background-color: white;
}

.overlay {
    display: none;
    /* Hide the overlay by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


.accordion .content object.pdf {
width: 100%;
height: 500px;
max-height: 100vh; /* Ensure it doesn't exceed viewport height */
}

/* Responsive Design */
@media (max-width: 768px) {
.accordion .acc-btn {
padding-left: 15px;
}

.accordion .acc-content {
padding: 10px 15px;
}

.accordion .content object.pdf {
height: 300px; /* Adjust height for smaller screens */
}
}

@media (max-width: 480px) {
.accordion .acc-btn {
padding-left: 10px;
}

.accordion .acc-content {
padding: 10px;
}

.accordion .content object.pdf {
height: 200px; /* Further adjust height for very small screens */
}
}
.acc-btn{
    background-color: #6c3d75;
    padding:10px;
    color:#fff;
    font-size: 20px;
    font-weight: 600;
}
/* Responsive Design */
@media (max-width: 768px) {
    .pdf {
        height: 400px; /* Adjust height for tablets */
    }
}

@media (max-width: 480px) {
    .pdf {
        height: 300px; /* Adjust height for mobile phones */
    }
}
/* gallery image */
.gallery-container {
    /* max-width: 1000px; */
    margin: auto;
}



.date {
    font-size: 18px;
    font-weight: bold;
    color: #0b0ba4;
}

/* Image Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}
.galleryname{
    color:#6c3d75;
}
/* .videoname2 {
    text-align: center;
    margin-top: -21px;
    background-color: #6c3d75;
    color: #fff;
    padding: 20px;
  } */
  .video {
    height: 250px;
    width: 100%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }
  #news-image{
    /* height:300px;
    width:600px; */
}
/* video */
.services-item {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .main-img {
    width: 100%;
    max-width: 600px; /* Controls max size on larger screens */
  }
  
  .video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }
  
  .videoname2 {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
  }
  
  /* Mobile View: Ensure One Video Per Row */
  @media (max-width: 768px) {
    .services-item {
      flex-direction: column;
    }
  
    .main-img {
      width: 100%;
    }
  }
  .sub-menu a {
    text-decoration: none;
    color: #6c3d75;
    transition: color 0.3s;
  }
  
  /* Apply color when selected */
  .sub-menu a.selected {
    color: #4b0462; /* Preferred color */
    text-decoration: underline;
  }
  
  /* Hover Effect */
  .sub-menu a:hover {
    text-decoration: underline;
  }
  
  .menusingle.active {
    /* color: #6c3d75;  */
    color: #fff;
    background-color: #6c3d75;
    padding:6px;
    font-weight: 500;
  }
  table {
    width: 100%;
    /* background: #fafbfd; */
 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 2px solid #ecedf1;
    overflow: hidden;
  }

  table thead tr {
    background-color: #6c3d75;
    color: white;
  }
  .info-row .label {
    margin-right: -295.2px;
    font-weight: 550;
}
.detail-row .label {
    margin-right: -329.1px;
    font-weight: 550;
}
.bio-html{
    display:none; 
    word-break:break-word; 
    overflow-wrap:break-word; 
    white-space:normal; 
    line-height:1.6; 
    text-align:left;
    font-size:14px;
    font-family:"Open Sans", Segoe UI, Arial, sans-serif !important;
}
#bishop-bio{
    white-space: normal;
     word-break: break-word;
      line-height: 1.6;
      text-align: left;
      padding-top: 10px;
      font-size:14px;
      text-align: justify;
      font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
}
.priestname{
    text-align: initial;
    font-size: 18px;
color: #6c3d75;
}
pre{
    margin-bottom: 0rem !important;
}
.priestabout{
    /* margin-top:16px; */
    flex: 1;
  text-align: left;
  padding-left: 5px;
  color: #2c2a2a;
  font-family: "Open Sans", Segoe UI, Arial, sans-serif !important;
  font-size: 14px;
}
.hisimg {
    width: 100%;
    max-width: 600px; /* optional: limit maximum size */
    height: auto; /* maintain aspect ratio */
    border-radius: 10px; /* optional styling */
    display: inline-block;
}

@media (max-width: 768px) {
    
    .image-box2{
        display: inline-flex;
       width: 85.4%;
    }
}
/* social media */
/* Horizontal Social Bar */
.footer-bottom {
   
    padding: 10px 20px;
    font-size: 14px;
    color: #af96b2;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Push items to both ends */
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.footer-left {
    text-align: left;
    flex: 1;
}

.footer-right {
    display: flex;
    justify-content: flex-end; /* Align icons to right */
    gap: 10px;
}

.footer-right .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #d7b9da;
    color: white;
    font-size: 16px;
    text-decoration: none;
}
.footer-right  :hover{
     background-color: #6c3d75;
}
.footer-right .social-icon.fb {
    /* background-color: #6b3b74; */
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        margin-bottom: 10px;
        justify-content: flex-start;
    }
}

