* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Animations*/

@keyframes FadeIn {
	0% {
		opacity: 0;
		transform: translateY(-50px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes myAnim {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes myAnim2 {
	0% {
		animation-timing-function: ease-in;
		opacity: 0;
		transform: translateY(250px);
	}

	38% {
		animation-timing-function: ease-out;
		opacity: 1;
		transform: translateY(0);
	}

	55% {
		animation-timing-function: ease-in;
		transform: translateY(65px);
	}

	72% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	81% {
		animation-timing-function: ease-in;
		transform: translateY(28px);
	}

	90% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	95% {
		animation-timing-function: ease-in;
		transform: translateY(8px);
	}

	100% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes myAnim3 {
	0% {
		opacity: 0;
		transform: translateY(50px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Fullscreen loading div */
#loading-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999; /* On top of all elements */
    animation: fadeOut 1s ease-in-out forwards;
    animation-delay: 120s; /* Delay the fade-out until after 2 minutes */
    animation: myAnim3 2s ease 0s 1 normal forwards;
}

.loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 15px;
}

/* Text animation styling */
.loading-content h1 {
    font-size: 36px;
    font-family: 'Georgia', serif;
    color: #007bff;
    letter-spacing: 3px;
    opacity: 1;
   
}

/* Quote styling */
.loading-content .quote {
    font-size: 18px;
    font-family: 'Times New Roman', serif;
    color: #fff;
    margin-top: 15px;
    opacity: 1;
    animation: fadeInQuote 3s ease-in-out ;
}

/* Quote styling */
.loading-content .quote:last-child{
    color: #daa520;
}

/* Spinning div */
.spinner {
    margin-top: 20px;
    border: 6px solid transparent; /* Light gray */
    border-top: 6px solid #007bff; /* Blue */
    border-bottom: 6px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: fadeIn 3s ease-in-out infinite alternate, spin 2s linear infinite;
}

/* Keyframes for spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation keyframes */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInQuote {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; display: none; }
}

/* Media query for small screens */
@media (max-width: 800px) {
    /* Adjust text size for smaller screens */
    .loading-content h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .loading-content .quote {
        font-size: 14px;
        margin-top: 10px;
    }

    /* Smaller spinner for small screens */
    .spinner {
        width: 35px;
        height: 35px;
        border-width: 4px; /* Thinner border for smaller size */
    }
}

/*************************************************************************************************************************/

body {
    background-color: #f0f0f0;
    
}

html {
    scroll-behavior: smooth;
}

/* General styles for the header */
header {
    background-color: #407184;
    color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
}

.left {
    display: flex;
    align-items: center;

}



.logo img {
    height: 50px;
    margin-right: 10px;
}

h1 {
    font-size:24px;
    font-weight: bold;
}

.left  .name-logo .slogan {
    font-style:unset;
    color: goldenrod;
    font-weight: bold;
}

/* Styling for navigation */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px 5px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.nav-menu ul li {
    font-size: 1.1em;
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    transition: color 0.3s, background-color 0.75s;
}

.nav-menu ul li i {
    margin-right: 8px;
}

.nav-menu ul li:hover {
    background-color: #ccc;
    color: #407184;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.nav-menu ul li.active{
    background-color: #ccc;
    color: #407184;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden on larger screens */
    cursor: pointer;
    font-size: 2em;
}

/* Styles for small screens */
@media (max-width: 800px) {
    /* Hide the nav menu */
    .nav-menu {
        display: none;
        position: absolute;
        top: 120px;
        right: 6px;
        background-color: #407184;
        flex-direction: column;
        height: auto;
       border-radius: 10px;
        padding: 20px;
        width: 200px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        animation: FadeIn 2s ease 0s 1 normal forwards;
    }

    /* Make nav menu visible when active */
    .nav-menu.active {
        display: flex;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: inline-block;
        color: #f0f0f0;
        position: absolute; /* Make it absolutely positioned */
        right: 20px; /* Move it to the right edge */
        top: 70%; /* Center vertically relative to the header */
        transform: translateY(-20%); /* Adjust for perfect vertical centering */
        font-size: 2em; /* Size of the hamburger icon */
        
    }


    .hamburger-menu span {
        cursor: pointer;
        display:block;
        min-height:20px;
    }
    header{
        flex-direction: column;
    }
    .left{
        width: 100%;
        font-size: 10px;
        text-align: left;
    }
    .left  .name-logo{
        margin-bottom: 10px;
    }
    .left  .name-logo h1{
        font-size: 18px;
    }
    .center{
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        text-align: center;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        box-shadow: none;
    }

    .nav-menu ul li{
        border-bottom: 1px solid #ccc;
        border-radius: 1px;
        width: 100%;
    }
}


main {
    padding: 20px;
    background-color: transparent;
    width: 100%;
    min-height: 100vh;
    margin-top: 100px;
}

section {
    display: none; /* All sections hidden by default */
    padding: 40px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    flex-direction: column;
    animation: FadeIn 2s ease 0s 1 normal forwards;
    border: 2px solid #2980b9;
}

section.active{
    display:flex;
}

section h2 {
    font-size: 2em;
    color: #407184;
}

section p {
    font-size: 1.1em;
    color: #666;
}

/* Media Queries for Responsiveness */
@media (max-width: 800px) {
    main{
        width: 100%;
        min-height: 100vh;
        padding: 0;
        
    }
    section {
        padding: 0;
        width: 100%;
        height: 100%;
        margin-top: 30px;
    }
}

/************************************************************************************************************************************/
#Home{
    min-height: 100vh;
    border-radius: 10px;
    background-color: #407184;
    border: 1px solid #f0f0f0;
    color: #f0f0f0; 
    align-items: center;
}

#Home h1, #Home h2, #Home p {
    color: #f0f0f0;
}
#Home h1, #Home h2{
    text-transform: capitalize;
}

#Home  span{
    color: #daa520;
}

#Home .logo-image{
    width: 80%;
    height: 80vh;
    margin-top: 20px;
    border: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

#Home .logo-image img {
    width: 100%;
    height: 100%;
}

#Home .intro-message-div {
    width: 80%;
    min-height: 20vh;
    border: 1px solid #f0f0f0;
    margin-top: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 10px;
    animation: myAnim 2s ease 0s 1 normal forwards;
}

.intro-message-div p span{
    margin-left: 20px;
    font-size: 32px;
    word-spacing: 5px;
    color: goldenrod;
    font-weight: bold;
    text-transform: capitalize;
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.intro-message-div h2 span.fade-in {
    animation: slideIn 0.5s forwards;
    
}

.intro-message-div h2 span.fade-down {
    animation: slideDown 0.5s forwards;
}

/* Media Queries for Small Screens */
@media (max-width: 800px) {
    #Home {
        width: 100%;
    }
    #Home .logo-image {
        width: 100%; /* Ensure logo covers full width */
        height: 60vh; /* Maintain aspect ratio */
    }

    #Home .intro-message-div {
        flex-direction: column; /* Stack contents vertically */
        width: 100%; /* Width adjustment */
        padding: 15px; /* Increased padding for mobile */
        border-radius: 5px;
        overflow: hidden;
    }

    .intro-message-div p span {
        display: inline-block;
        font-size: 16px; /* Further decrease font size on small screens */
        margin-top: 10px;
        font-weight: bold;
    }

    #Home h1, #Home h2{
        font-size: 21px;
    }
}
/******************************************************************************************************************************/

#About {
    padding: 20px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    border-radius: 10px; /* Round the corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 0 auto; /* Center the section */
}

#About h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#About .about,
#About .our-mission,
#About .our-vision,
#About .core-values,
#About .principal-greeting {
    margin-bottom: 20px;
    background-color: #fff; /* White background for each section */
    border: 1px solid #407184;
    padding: 15px; /* Inner padding for content */
    margin: 15px 0; /* Space between sections */
    border-radius: 8px; /* Round corners */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    font-size: 20px;
    min-height: 50vh;
    width: 100%;
}

#About .our-vision {
    background-image: url('vision.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    border-radius: 10px; /* Smooth rounded corners */
    padding: 20px; /* Add padding for content inside */
    color: #fff; /* White text for contrast */
    text-align: center; /* Center-align text */
    font-size: 1.2rem; /* Slightly larger font size */
    margin-top: 20px; /* Add spacing above */
    margin-left: auto;
    margin-right: auto; /* Center the section */
    position: relative; /* Enable absolute positioning for overlays */
    overflow: hidden; /* Hide any overflow */
}

#About .our-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Add a dark overlay */
    z-index: 1; /* Ensure overlay appears on top of background */
}

#About .our-vision h3, #About .our-vision p {
    position: relative;
    z-index: 2; /* Ensure text appears above the overlay */
    color: #f0f0f0;
    font-size: 1.5rem;
    margin-top: 10px ;
}

@media (max-width: 800px) {
    #About {
        width: 100%;
        font-size: 12px;
    }
    #About .our-vision {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 10px; /* Reduce padding on smaller screens */
    }
    .about{
        width: 100%;
        padding: 0;
    }
}

#About .our-mission {
    background-image: url('mission.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    border-radius: 10px; /* Smooth rounded corners */
    padding: 20px; /* Add padding for content inside */
    color: #fff; /* White text for contrast */
    text-align: center; /* Center-align text */
    font-size: 1.2rem; /* Slightly larger font size */
    margin-top: 20px; /* Add spacing above */
    margin-left: auto;
    margin-right: auto; /* Center the section */
    position: relative; /* Enable absolute positioning for overlays */
    overflow: hidden; /* Hide any overflow */
}

#About .our-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Add a dark overlay */
    z-index: 1; /* Ensure overlay appears on top of background */
}

#About .our-mission h3, #About .our-mission p {
    position: relative;
    z-index: 2; /* Ensure text appears above the overlay */
    color: #f0f0f0;
    font-size: 1.5rem;
    margin-top: 10px ;
}

.facilities {
    margin-top: 20px; /* Spacing above the facilities section */
    padding: 20px; /* Padding inside the facilities box */
    background-color: #f0f8ff; /* Light background for contrast */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.facilities ul {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px; /* Spacing between items */
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.facilities li {
    background: transparent; /* Gradient background */
    padding: 20px; /* Padding inside each item */
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Center the text */
    font-size: 16px; /* Font size for the facility text */
    border: 2px solid #007BFF;
    color: #000; /* Text color */
    font-weight: bolder;
    position: relative; /* For pseudo-element positioning */
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for effects */
}

.facilities li:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Shadow on hover */
    color: #000; /* Change text color on hover */
}

@media (max-width: 800px) {
    .facilities ul {
        grid-template-columns:  1fr; /* Two columns for medium screens */
        padding: 0;
    }

    .facilities li li {
        width: 100%;
    }

    .facilities h2{
        font-size: 18px;
        text-decoration: underline;
    }
}



@media (max-width: 800px) {
    #About .our-mission {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 0; /* Reduce padding on smaller screens */
    }
}

#About .core-values {
    background-image: url('values.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    border-radius: 10px; /* Smooth rounded corners */
    padding: 20px; /* Add padding for content inside */
    color: #fff; /* White text for contrast */
    text-align: center; /* Center-align text */
    font-size: 1.2rem; /* Slightly larger font size */
    margin-top: 20px; /* Add spacing above */
    margin-left: auto;
    margin-right: auto; /* Center the section */
    position: relative; /* Enable absolute positioning for overlays */
    overflow: hidden; /* Hide any overflow */
}

#About .core-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Add a dark overlay */
    z-index: 1; /* Ensure overlay appears on top of background */
}

#About .core-values h3 {
    position: relative;
    z-index: 2; /* Ensure text appears above the overlay */
    color: #f0f0f0;
    font-size: 1.5rem;
    margin-top: 10px ;
    
}

.core-values ul {
    list-style: none;
    margin-top: 10px;
    display:flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
}

.core-values ul li {
    color: #f0f0f0;
    background-color:rgba(67, 137, 192, 0.6);
    padding: 10px 20px;
    height: 50px;
    width: calc(30.33% + 20px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-top: 10px;
    cursor: pointer;
    margin: 10px 10px;
    transition: scale 0.75s;
}

.core-values ul li:hover{
    transform: scale(1.05);
    background-color: rgba(227, 160, 15, 0.9);
}

@media (max-width: 800px) {
    #About .core-values {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 10px; /* Reduce padding on smaller screens */
    }
    .core-values ul li{
        flex-direction: column;
        flex-direction: column;
        min-width: 90%;
    }
}

.principal-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 2px solid #00a2ff;
    font-family: 'Georgia', serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principal-greeting:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.principal-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #007bff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: border-radius 0.75s ease;
}

.principal-image img:hover {
    border-radius: 10%;
}

.greetings h3 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
    position: relative;
}

.greetings h3::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #007bff;
    display: block;
    margin-top: 8px;
}

.greetings p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.greetings p:last-child {
    font-weight: bold;
    color: #555;
    font-style: italic;
}


@media (max-width: 800px) {
    #About .principal-greeting {
        flex-direction: column;
        text-align: center;
    }

    #About .principal-image{
        height:300px;
        width: 300px;
        border-radius: 10px;
        
    }

    #About .principal-image img{
        width: 100%;
        height: 100%;
        border-radius: inherit;
    }

    #About .greetings {
        padding-left: 0;
        max-width: 100%;
        text-align: left;
    }
}

/* Styling for the about-saints section */
.about-saints {
    width: 100%;
    padding: 30px;
    background-color: #f9f9f9; /* Light background */
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    text-align: center;
    margin: 20px auto;
}

/* Title styling */
.about-saints h1 {
    font-size: 36px;
    color: #007BFF;
    margin-bottom: 20px;
}

/* Saint Christopher section */
.st-chris {
    margin-bottom: 30px;
}

.st-chris h2 {
    font-size: 28px;
    color: #555; /* Subtle text color */
    margin-bottom: 15px;
}

.st-chris img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px; /* Image shadow */
    display: block;
}

/* Paragraphs about Saint Christopher */
.st-chris p {
    color: #333; /* Text color */
    line-height: 1.7; /* Improve readability */
    margin: 15px 0;
    font-size: 18px;
}

/* Styling for suggested saints section */
.suggested-saints h3 {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 20px;
}

/* Suggested saints list styling */
.suggested-saints ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
}

.suggested-saints ul li {
    font-size: 18px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #eee; /* Light background for items */
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; /* Subtle shadow */
    transition: background-color 0.3s ease;
    text-align: left;
    border: 1px solid #407184;
    cursor: pointer;
}

.suggested-saints ul li:hover {
    background-color: #ccc; /* Blue highlight on hover */
    color: #333; /* Change text to white on hover */
}

.suggested-saints ul li a {
    color: inherit; /* Inherit the color (blue or white depending on state) */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: color 0.3s ease;
}

.suggested-saints ul li:hover strong {
    color: #0056b3; /* Ensure link color is white on hover */
}

strong {
    color: #007bff; /* Blue color for names */
}



.data-history {
    border-top: 2px solid #0056b3;
    margin-top: 30px;
    font-size: 0.9em; /* Slightly smaller font size */
    color: #000; /* Dark grey for text */
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 15px 5px;
    flex-direction: row;
}



.data-history .image-container {
    flex: 1;
    height: 300px; /* Maintains aspect ratio */
    border-radius: 5px; /* Optional for rounded corners */
    overflow: hidden;
    margin-right: 20px;
    margin:10px 3px ;
}

.data-history .image-container img{
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.data-history .history-text{
    display: flex;
    flex: 2;
    justify-content: space-between;
    min-height: 100%;
}

.data-history .history-text p{
    word-spacing: 5px;
    text-align: justify;
    font-weight: bold;
}

.cta-link {
  display: inline-block;
  background-color: #007b5e; /* St. Christopher green-blue theme */
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
}

.cta-link:hover {
  background-color: #005f47;
  transform: translateY(-2px);
}


/* Responsive design for smaller screens */
@media (max-width: 800px) {
    .about-saints {
        padding: 10px;
        width: 100%;
    }

    .about-saints h1 {
        font-size: 22px;
    }

    .st-chris h2 {
        font-size: 18px;
    }

    .st-chris img {
        width: 100%;
        height: 50vh;
    }

    .st-chris p {
        font-size: 14px;
        text-align: left;
    }

    .suggested-saints h3 {
        font-size: 16px;
    }

    .suggested-saints ul li {
        font-size: 16px;
        flex-direction: column;
    }
    .data-history{
        justify-content: space-around;
        align-items: center;
        padding: 5px 2px;
        flex-direction: column;
        
    }
}

.quotes-about-st-chris {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #3498db;
}

.quotes-about-st-chris ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quotes-about-st-chris ul li {
    position: relative;
    margin: 10px 0;
    padding-left: 25px; /* Space for the clipboard icon */
    width: calc(30% + 20px);
    height: 30vh;
    background-color: #34495e;
    color: #f0f0f0;
    border: 1px solid #2c3e50;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.quotes-about-st-chris ul li:hover {
    background-color: #0056b3;
    color: #f0f0f0;
}

/* Copied class */
.quotes-about-st-chris ul li.copied {
    background-color: #004600;
    color: #e0f7fa;
}

/* Clipboard icon */
.quotes-about-st-chris .clipboard-icon {
    position: absolute;
    top: 40px;
    left: 50%;
    font-size: 16px;
    color: #f0f8ff;
    cursor: pointer;
    transition: color 0.3s;
    margin-right: 10px;
}

.quotes-about-st-chris .clipboard-icon:hover {
    color: #ffff;
}

/* Message shape with speech bubble */
.quotes-about-st-chris ul li::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #f5f5f5;
    border-bottom: 0;
    margin-left: -10px;
}

.quotes-about-st-chris ul li:hover::before {
    border-top-color: #0056b3;
}


/* Responsive Design */
@media (max-width: 800px) {
    .quotes-about-st-chris ul {
        flex-direction: column;
    }
    
    .quotes-about-st-chris ul li {
        width: 90%; /* Full width for better readability */
        min-height: 15vh; /* Reduced height for smaller screens */
        clip-path: none;
    }

    .quotes-about-st-chris .clipboard-icon {
        top: 8px;
        left: 8px;
        font-size: 14px; /* Slightly smaller for small screens */
    }
}

/******************************************************************************************************************************************************************************/

.display-values-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other content */
}

.value-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.value-close:hover{
    color: #FF0000;
}

.values-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 60%;
    animation: myAnim3 2s ease 0s 1 normal forwards;
}

.value-bible-verse, .value-quote {
    margin: 10px 0;
    font-size: 18px;
    color: #111;
    border-bottom: 1px solid #407184;
}

/* Content styling */
.values-content {
    text-align: center;
}

.value-bible-verse h3, .value-quote h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.value-bible-verse p, .value-quote p {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 15px;
}

/* Button container styling */
.values-button {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

/* Button styling */
.values-button button {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Verdana', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.values-button button:hover {
    background-color: #2980b9;
}

/* Icon styling inside buttons */
.values-button button i {
    margin-right: 5px;
}

/* Bible verse and quote text hover effect */
.value-bible-verse:hover, .value-quote:hover {
    color: #2c3e50;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

/* Optional responsive design for small screens */
@media (max-width: 800px) {
    .display-values-overlay {
        width: 99%;
        
    }

    .value-bible-verse h3, .value-quote h3 {
        font-size: 18px;
    }

    .values-content {
        padding: 10px;
        width: 90%;
        height: 55vh;
        overflow-y: auto;
    }

    .value-bible-verse p, .value-quote p {
        font-size: 14px;
    }

    .values-button {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
    }

    .values-button button {
        padding: 4px 8px;
        font-size: 14px;
    }
}
/*------------------------------------------------------------------------------------------------------------------------------------*/

#Curriculum {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#Curriculum h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#Curriculum h3 {
    color: #007BFF;
    margin-bottom: 10px;
}

#Curriculum p {
    color: #555;
    line-height: 1.6;
}

#Curriculum ul {
    
    padding-left: 20px;
}

#Curriculum ul li {
    
    margin-bottom: 5px;
}

.curriculum-overview,
.subject-areas,
.special-programs,
.curriculum-highlights {
    margin-bottom: 20px;
    border-bottom: 1px solid #007BFF;
    
}

.subject-areas {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 20px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #3498db;
}

.subject-areas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.05));
    z-index: -1;
    transform: translateX(-50%) rotate(20deg);
    border-radius: 50%;
    pointer-events: none;
}

.subject-areas h3 {
    font-size: 30px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.subject-areas ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.subject-areas ul li {
    width: calc(40% - 20px);
    background: linear-gradient(135deg, #007bff, #00d2ff);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex-wrap: wrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.subject-areas ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.subject-areas ul li strong {
    font-size: 22px;
    display: block;
    margin-bottom: 15px;
    color: #ffeb3b;
    font-weight: 600;
    letter-spacing: 1px;
}

.subject-areas ul li:hover strong {
    color: #ffd700;
}

.subject-areas ul li p {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f1f1;
}

.subject-areas ul li::before {
    content: attr(data-fact);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.8);
    color: #fff;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    transition: opacity 0.4s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.special-programs {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #00a2ff;
}

.special-programs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.05));
    z-index: -1;
    transform: translateX(-50%) rotate(20deg);
    border-radius: 50%;
    pointer-events: none;
}

.special-programs h3 {
    font-size: 30px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.special-programs p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.special-programs ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.special-programs ul li {
    width: calc(45% - 20px); /* Adjust to allow two columns */
    background: linear-gradient(135deg, #007bff, #00d2ff);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.special-programs ul li:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #0056b3, #00a2ff);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.special-programs ul li strong {
    font-size: 22px;
    display: block;
    margin-bottom: 15px;
    color: #ffeb3b;
    font-weight: 600;
    letter-spacing: 1px;
}

.special-programs ul li:hover strong {
    color: #ffd700;
}

.special-programs ul li p {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 800px) {
    .special-programs ul li {
        width: 100%;
        clip-path: none;
        border-radius: 10px;
        clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
    }
}

/*------------------------------------------------------------------------------------------------------------------------------------*/

.subject-overview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}


.close-overview {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.subject-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    height: 60vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: myAnim3 2s ease 0s 1 normal forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.subject-fact,
.subject-view {
    margin-bottom: 30px;
    border-bottom: 1px solid #007BFF;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.subject-fact {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.subject-view {
    font-size: 16px;
    color: #555;
}
.subject-view h2{
    margin-bottom: 10px;
    color: #111;
}

@media (max-width: 800px) {
    #Curriculum {
        padding: 10px;
        border-radius: 5px;
        box-shadow: none;
    }

    #Curriculum h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    #Curriculum h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    #Curriculum p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    #Curriculum ul {
        padding-left: 15px;
    }

    #Curriculum ul li {
        margin-bottom: 3px;
        font-size: 0.9rem;
    }

    .curriculum-overview,
    .subject-areas,
    .special-programs,
    .curriculum-highlights {
        margin-bottom: 15px;
        border-bottom: 1px solid #007BFF;
    }

    /* Subject Areas for Small Screens */
    #Curriculum .subject-areas ul {
        flex-direction: column;
        margin-bottom: 10px;
        padding: 0;
    }

    #Curriculum .subject-areas ul li {
        width: 100%;
        height: auto;
        margin: 10px 0;
        padding: 15px;
        font-size: 1rem;
    }

    #Curriculum .subject-areas ul li strong {
        font-size: 1rem;
    }

    /* Overlay for Small Screens */
    .subject-overview-overlay {
        padding: 10px;
    }

    .close-overview {
        top: 10px;
        right: 10px;
        font-size: 20px;
    }

    .subject-content {
        padding: 10px;
        width: 90%;
        height:60vh;
        overflow-y: auto;
    }

    .subject-fact,
    .subject-view {
        margin-bottom: 20px;
        border-bottom: 1px solid #007BFF;
    }

    .subject-fact {
        font-size: 14px;
    }

    .subject-view {
        font-size: 14px;
    }

    .subject-view h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }
}

.curriculum-highlights {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #00a2ff;
}

.curriculum-highlights::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    z-index: -1;
    transform: translateX(-50%) rotate(15deg);
    border-radius: 50%;
    pointer-events: none;
}

.curriculum-highlights h3 {
    font-size: 30px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.curriculum-highlights p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.curriculum-highlights ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.curriculum-highlights ul li {
    width: calc(45% - 20px); /* Adjust width for two columns */
    background: linear-gradient(135deg, #ff7f50, #ff4500);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: left;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.curriculum-highlights ul li:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #ff6347, #ff0000);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.curriculum-highlights ul li strong {
    font-size: 22px;
    display: block;
    margin-bottom: 15px;
    color: #ffd700;
    font-weight: 600;
    letter-spacing: 1px;
}

.curriculum-highlights ul li:hover strong {
    color: #fff700;
}

.curriculum-highlights ul li p {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .curriculum-highlights ul li {
        width: 100%;
        clip-path: none;
        border-radius: 10px;
    }
}
/*************************************************************************************************************************************************/
.more-button {
    background-color: #f0f0f0; /* Light background for contrast */
    padding: 30px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    text-align: center; /* Center the text */
    margin: 20px auto; /* Center the container */
    width: 100%;
}

.more-button h2 {
    color: #007BFF; /* Heading color */
    font-size: 24px; /* Size of heading */
    margin-bottom: 15px; /* Spacing below heading */
}

.more-button p {
    color: #555; /* Subtle text color */
    line-height: 1.6; /* Improve readability */
    margin-bottom: 20px; /* Spacing below paragraph */
}

.more-button button {
    background-color: #007BFF; /* Button color */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding for the button */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Button text size */
    transition: background-color 0.3s ease; /* Transition for hover effect */
    
}

.more-button button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Prayer section styling */
.prayer-section {
    margin: 20px auto; /* Center the section */
   width: 100%;
    padding: 20px; /* Padding for better spacing */
    text-align: center; /* Center text */
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

/* Video styling */
.prayer-video {
    display: none; /* Flexbox for centering */
    justify-content: center; /* Center video */
    margin: 20px auto; /* Center the video */
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.prayer-video iframe {
    max-width: 100%; /* Responsive width */
    height: 80vh; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for the iframe */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

.prayer-insight {
    margin-top: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #007BFF;
    font-size: 20px;
    width: 60%;
    background-color: transparent;
}

.faq-question {
    cursor: pointer;
    color: #007BFF;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #0056b3;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #ccc;
    color: #007bff;
}

.faq-answer {
    display: none;
    margin-top: 20px; /* Spacing above the answer */
    padding: 20px; /* Padding inside the answer box */
    background: linear-gradient(135deg, #e0f7fa, #80deea); /* Gradient background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
    line-height: 1.6; /* Improved readability */
    border: 2px solid #007BFF; /* Border color for emphasis */
    position: relative; /* For pseudo-element positioning */
    margin-bottom: 10px;
}

.faq-answer:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.2); /* White overlay for depth */
    border-radius: 10px; /* Rounded corners matching the container */
    z-index: 0; /* Behind the content */
}

.faq-answer p {
    margin-bottom: 15px; /* Spacing below paragraphs */
    color: #000; /* Dark text color for contrast */
    font-weight: bold;
    font-size: 18px; /* Slightly larger font size */
    position: relative; /* For z-index context */
    z-index: 1; /* On top of the overlay */
}

.faq-answer ol {
    padding-left: 20px; /* Indentation for ordered list */
    margin: 0; /* Remove default margin */
}

.faq-answer li {
    margin-bottom: 15px; /* Spacing between list items */
    color: #000; /* Darker color for list items */
    text-align: left;
    font-size: 16px; /* Ensure consistent font size */
    position: relative; /* For pseudo-element positioning */
    padding-left: 20px; /* Add space for the bullet */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.faq-answer li:before {
    content: '✔'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #007BFF; /* Color for the bullet */
    font-weight: bold; /* Bold bullet */
}

.faq-answer li:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    color: #007BFF; /* Change color on hover */
}

.faq-answer li strong {
    color: #0056b3; /* Darker blue color for strong text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.faq-answer.show{
    animation: myAnim3 2s ease 0s 1 normal forwards;
}


.prayer-insight .more-content{
    width: 60%;
    background-color: #fff;
    color: #007BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px 10px;
    border-radius: 10px;
}

.prayer-insight .more-content h2{
    color: #007BFF;
    margin-top: 10px;
}

.prayer-insight .more-content button{
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #0056b3;
    font-size: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
}

.prayer-insight .more-content button:hover{
    background-color: #004600;
    color: #f0f0f0;
    border: 2px solid #004600;
    
}

/* Responsive Styles */
@media (max-width: 800px) {
    .more-button {
        padding: 20px; /* Reduce padding */
    }

    .more-button h2 {
        font-size: 18px; /* Smaller heading */
    }

    .more-button p {
        font-size: 14px; /* Smaller paragraph text */
    }

    .more-button button {
        padding: 8px 15px; /* Smaller button */
        font-size: 14px; /* Smaller button text */
    }

    .faq-item {
        width: 99%; /* Increase width for smaller screens */
        height: 100%;
    }

    .faq-question {
        font-size: 18px; /* Smaller question font size */
        min-height: 20vh; /* Allow height to adjust */
        border-radius: 5px;
        width: 99%;
        padding: 4px 8px;
    }

    .faq-answer {
        font-size: 14px; /* Smaller answer font size */
        padding: 4px 8px;
    }
    .prayer-insight .more-content{
        width: 100%;
    }
    .prayer-insight .more-content h2{
        font-size: 16px;
        color: #007BFF;
    }
    .prayer-insight .more-content button{
        width: 100%;
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

#Gallery {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

#Gallery h2 {
    font-family: 'Pacifico', cursive;
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

#Gallery p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.intro-gallery img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.galleria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    position: relative;
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-200px);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
}

/* Animation class for sliding in */
.slide-in {
    opacity: 1;
    transform: translateX(0); /* Moves back to original position */
  }

.slide-out {
    opacity: 0; /* Fade out */
    transform: translateX(-200px); /* Move slightly lower */
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.video-field {
    margin-top: 30px;
    text-align: center;
}

.video-field video {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Media Queries for Responsive Design */
@media (max-width: 800px) {
    #Gallery h2 {
        font-size: 22px;
    }

    #Gallery p {
        font-size: 16px;
    }

    .intro-gallery img {
        width: 100%;
    }

    .caption {
        font-size: 14px;
    }

    .galleria {
        display: grid;
        grid-template-columns: repeat(auto-fit, max(1fr));
        gap: 20px;
        margin-bottom: 40px;
        justify-items: center;
    }
}

@media (max-width: 576px) {
    .galleria {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .caption {
        font-size: 12px;
    }
}



@media (max-width: 800px) {
    #Gallery {
        padding: 10px;
        border-radius: 5px;     
        align-items: flex-start;
    }

    #Gallery h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .galleria {
        display: grid;
        grid-template-columns: 1fr; /* Single column layout for small screens */
        gap: 10px;
        padding: 10px;
        background-color: #407184;
        border-radius: 5px;
    }

    .gallery-item {
        width: 100%; /* Full width for small screens */
        height: 300px; /* Reduce height for smaller screens */
        margin: 0;
        border-radius: 5px;
        box-shadow: none;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
    }

    .caption {
        font-size: 0.9rem; /* Reduce font size for captions */
        padding: 5px; /* Reduce padding */
        opacity: 1;
    }

    .video-field {
        height: 50vh; /* Reduce height of the video field */
        margin-top: 15px;
        padding: 10px;
        border-radius: 5px;
    }

    .video-field video {
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }

     /* Adjust the photo overlay for small screens */
     .photo-view-overlay {
        padding: 10px;
    }

    .close-photo-overlay {
        top: 10px;
        right: 10px;
        font-size: 20px; /* Smaller close button */
    }

    .photo-content {
        flex-direction: column; /* Stack elements vertically */
        padding: 10px;
        width: 100%;
        height: 50vh; /* Allow full height */
    }

    .left-carousel,
    .right-preview {
        font-size: 20px; /* Reduce size of carousel buttons */
        padding: 5px;
        width: 20px;
        height: 20px;
        margin: 10px;
    }

    .photo-preview {
        width: 100%;
        height: 50vh;
    }

    .photo-preview img {
        width: 100%; /* Ensure image scales properly */
        height: 100%;
        border-radius: 10px;
    }

}


/****************************************************************************************************************************/

.photo-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}


.close-photo-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.photo-content {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    height: 90%;
    animation: myAnim3 2s ease 0s 1 normal forwards;
}

.left-carousel,
.right-preview {
    font-size: 60px;
    color: #f0f0f0;
    cursor: pointer;
    padding: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 20px;
    background-color: #407184;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview {
    width: 80%;
    height: 80%;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 10px;
    animation: fadeIns 0.5s forwards;
}

@keyframes fadeIns {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* For the left-to-right slide */
.photo-preview.slide-left img {
    animation: slideLeft 0.5s forwards;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* For the right-to-left slide */
.photo-preview.slide-right img {
    animation: slideRight 0.5s forwards;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------------*/

.contact-section {
    position: relative; /* Allows the pseudo-element to be positioned absolutely */
    padding: 30px;
    border-radius: 10px;
    margin: auto; /* Centers the section */
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    color: white; /* Ensures text is readable against the overlay */
    text-align: center; /* Centers text for better layout */
    overflow: hidden; /* Hides overflow if the background image is larger */
}

/* Pseudo-element for the black overlay */
.contact-section::before {
    content: ""; /* Necessary for pseudo-elements */
    position: absolute; /* Position it absolutely within the section */
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Black overlay with 50% opacity */
    z-index: 1; /* Place it below the text but above the background */
}

/* Background image */
.contact-section::after {
    content: ""; /* Necessary for pseudo-elements */
    position: absolute; /* Position it absolutely within the section */
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo.png'); /* Change to your image path */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    z-index: 0; /* Place it below the overlay */
}

/* Ensure the text is above the overlay */
.contact-section h2,
.contact-section p,
.contact-section ul {
    position: relative; /* Keeps text above the overlay */
    z-index: 2; /* Place text above the overlay */
}

.contact-title {
    text-align: center;
    color: #f0f0f0;
    margin-bottom: 15px;
    font-size: 2rem; /* Increased font size for better visibility */
}

.contact-description {
    text-align: center;
    color: #f9f9f9;
    margin-bottom: 20px;
    font-size: 1.1rem; /* Slightly larger for better readability */
}

.contact-list {
    list-style: none;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Adds space between list items */
    background-color: #407184;
    border-radius: 10px;
    width: 40%;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.contact-item:hover{
    background-color: #f0f0f0;
    color: #007BFF;
}
.contact-item:hover .contact-label,
.contact-item:hover .contact-link{
    color: #007BFF;
}
.contact-label {
    color: #f0f0f0; 
    font-weight: bold;
    margin-right: 10px; /* Space between label and link */
}

.contact-link {
    color: goldenrod;
    text-decoration: none; /* Removes underline */
    transition: color 0.3s; /* Smooth color transition */
    font-weight: bolder;
}

.contact-link:hover {
    color: #f0f0f0; /* Darker shade on hover */
    text-decoration: underline; /* Underline on hover for clarity */
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .contact-section {
        padding: 20px;
    }

    .contact-title {
        font-size: 14px; /* Adjusted font size for smaller screens */
    }

    .contact-description {
        font-size: 18; /* Adjusted font size */
    }

    .contact-label {
        font-size: 14px; /* Smaller font for labels */
    }

    .contact-link {
        font-size: 12px; /* Smaller font for links */
    }
    .contact-item{
        width: 99%;
        overflow: hidden;
        flex-wrap: wrap;
    }
}

/*********************************************************************************************************************************/

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000; /* Ensure it appears above other content */
    transition: opacity 0.3s ease; /* Smooth transition for showing/hiding */
}

/* Style for the close button */
.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.search-close:hover {
    color: #ff6347; /* Change color on hover */
}

/* Style for the search result container */
.search-result {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto; /* Scroll if content overflows */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    position: relative;
    z-index: 2; /* Ensure it appears above the overlay */
    animation: myAnim3 2s ease 0s 1 normal forwards;
}

/* Style for the search image container */
.search-image {
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    height: 70vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    position: relative;
    z-index: 2; /* Ensure it appears above the overlay */
    animation: myAnim3 2s ease 0s 1 normal forwards;
}

.search-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (max-width: 800px) {
    .search-overlay {
        padding: 10px; /* Add padding to avoid content touching edges */
    }

    .search-close {
        top: 10px;
        right: 10px;
        font-size: 24px; /* Slightly smaller close button for small screens */
    }

    .search-result {
        width: 100%; /* Take up full width on smaller screens */
        max-width: 100%;
        padding: 15px;
        max-height: 70%; /* Adjust height for smaller screens */
        overflow-y: auto; /* Keep the scroll functionality */
        margin-top: 10px; /* Add some space at the top */
        box-shadow: none; /* Reduce the shadow effect on small screens */
    }

    .search-image {
        width: 100%; /* Ensure the image container takes up full width */
        height: 50vh; /* Adjust height to avoid overflowing */
        margin-top: 10px; /* Reduce margin to save space */
        border-radius: 8px; /* Slightly reduce the border radius */
    }

    .search-image img {
        border-radius: 8px; /* Keep consistent with container */
        object-fit: cover; /* Ensure the image fits well without distortion */
    }
}

/*---------------------------------------------------------------------------------------------------------------------------------------------*/

.guidance {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    color: #f0f0f0;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    background-image: url('compass.png'); /* Add your background image URL here */
    background-size: cover; /* Ensure the background image covers the entire container */
    background-position: center; /* Center the background image */
    overflow: hidden; /* Ensure the pseudo-element stays within the container */
}

.guidance::before {
    content: '';
    position: absolute; /* Use absolute positioning to overlay the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* Black overlay with 25% opacity */
    z-index: 1; /* Ensure the overlay is on top */
}

.guidance h2{
    z-index: 2;
    background-color: #f0f0f0;
    margin-top: 10px;
    border-radius: 10px;
    padding: 10px 20px;
    
}

.guidance ul {
    list-style-type: none; /* Remove default bullet points */
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100%;
    width: 80%;
    z-index: 2;
}

.guidance li {
    background-color: #297fb97d; /* Sky blue background */
    color: #fff; /* White text */
    width: calc(45% - 20px); /* Adjust width for two items per row */
    padding: 10px 15px;
    margin: 10px;
    height: 10vh;
    font-size: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    cursor: pointer; /* Pointer cursor to indicate clickability */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effects */
}

.guidance li:hover {
    background-color: #daa520; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Media query for small screens */
@media (max-width: 800px) {
    .guidance ul {
        flex-direction: column; /* Stack items vertically on small screens */
        width: 100%;
    }

    .guidance h2{
        font-size: 18px;
    }
    .guidance li {
        width: calc(90% - 20px); /* Adjust width for single column layout */
        height: 10vh;
        font-size: 16px;
    }
}

/*---------------------------------------------------------------------------------------------------------------------------------------------*/

.fees {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 30px;
}

.fees h2{
    z-index: 2;
    color: #f0f0f0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.fees table {
    width: 80%;
    border: 1px solid #ddd;
}

.fees th, .fees td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.fees th {
    border-color: #f2f2f2;
    color: #fff;
}

.fees tr:hover {
    background-color: #3498db;
    color: #f0f0f0;
}


/* Media query for small screens */
@media (max-width: 800px) {
    .fees table {
        width: 100%; /* Make the table take full width on small screens */
    }

    .fees th, .fees td {
        padding: 8px; /* Reduce padding for better fit on small screens */
        font-size: 0.9em; /* Adjust font size for readability */
    }
    .fees h2{
        font-size: 18px;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------*/

.vacancies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between bubbles */
    margin: 20px;
    z-index: 2;
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
}

.vacancies h2{
    z-index: 2;
    color: #f0f0f0;
}

.vacancies .groups {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    background-color: transparent;
    border-radius: 10px;
    animation: myAnim 2s ease 0s 1 normal forwards;
}

.vacancies  .groups div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Make them circular */
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-transform: capitalize;
    background-color: transparent;
    border: 2px solid #f0f0f0;
}


.vacancies  .groups div:hover{
    transform: scale(1.05);
    animation: myAnim 2s ease 0s 1 normal forwards;
}

/* Media query for small screens */
@media (max-width: 800px) {
    .vacancies .groups {
        flex-direction: column; /* Stack items vertically on small screens */
    }

    .vacancies .groups{
        width: 100%;
        
    }
    .vacancies  .groups div {
        border-radius: 10px;
        margin-top: 10px;
        width: 90%;
        font-size: 16px;
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------*/

.map-direction {
    padding: 20px; /* Add padding around the container */
    text-align: center; /* Center text */
    background-color: #f4f4f4; /* Light background for contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    margin: 20px; /* Space around the section */
    z-index: 2;
    width: 80%;
    height: 80vh;
}

.map-direction h2 {
    font-size: 1.8em; /* Heading size */
    color: #000; /* Dark text color */
    margin-bottom: 15px; /* Space below heading */
}

.map-image {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    width: 100%; /* Ensure it does not exceed the container */
    overflow: hidden; /* Hide overflow for better layout */
}

.map-image img {
    max-width: 100%; /* Image scales with container */
    height: 100%; /* Maintain aspect ratio */
    transform: rotate(-1deg);
    border-radius: 8px; /* Rounded corners for the image */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for image */
}

/* Responsive styles */
@media (max-width: 800px) {
    .map-direction{
        width: 100%;
        height: 60vh;
    }
    .map-direction h2 {
        font-size: 1.5em; /* Smaller font size for smaller screens */
    }

    .map-direction {
        padding: 15px; /* Reduced padding on smaller screens */
        margin: 10px; /* Less margin on smaller screens */
    }
    .map-image{
        height: 40vh;
    }
}
