/*
Theme Name: River Church Istanbul
Theme URI: https://example.com/my-custom-theme
Author: Lusekelo Given
Author URI: https://example.com
Description: A custom WordPress theme built from scratch.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

body {
    display: block;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #ffffff4d;
    overflow-x: hidden; 

} 


/* body {
    display: block;
    min-height: 100%;
    font-size: 1.6rem;
    font-family: roboto_regular, arial, sans-serif;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
} */

/* #mainContent {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
} */

/* Home Banner Section */
.home-banner {
    position: relative;
    overflow: hidden;
    height: 900px;
    width: auto;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    z-index: -1;
}

/* #video-background {
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
} */

.home-banner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #53c5e277;
    /* Light blue with opacity */
    z-index: 0;
}

.banner-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 500px;
    margin-left: 1200px;
}

.banner-buttons .btn {
    padding: 12px 24px;
    font-size: 18px;
    text-decoration: none;
    z-index: 1;
}

.btn-primary {
    background-color: #FF4365;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.8;
}

.btn-contact {
    background-color: #44a245;
    padding: 12px 12px;
    font-size: 16px;
    text-decoration: none;
    z-index: 1;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-contact:hover {
    opacity: 0.8;
    transition: scale(1.05);
}

.site-header {
    position: absolute;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

/* Responsive styles for Home Banner Section */
@media (max-width: 1024px) {
    .home-banner {
        height: 1000px;
        /* Adjust height for tablets */
    }

    .banner-buttons {
        margin-top: 700px;
        /* Adjust positioning */
        margin-left: 0;
        /* Center align */
        flex-direction: row;
        /* Stack buttons vertically */
        gap: 10px;
    }

    .banner-buttons .btn {
        font-size: 16px;
        /* Adjust button size */
        padding: 10px 10px;
    }
}

@media (max-width: 768px) {
    .home-banner {
        height: 600px;
        /* Adjust height for mobile */
    }

    .banner-buttons {
        margin-top: 300px;
        /* Adjust positioning */
        margin-left: 0;
        /* Center align */
        flex-direction: row;
        /* Stack buttons vertically */
        gap: 10px;
    }

    .banner-buttons .btn {
        font-size: 14px;
        /* Adjust button size */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .home-banner {
        height: 550px;
    }

    .banner-buttons {
        margin-top: 350px;
        margin-left: 0;
        flex-direction: row;
        gap: 8px;
    }

    .banner-buttons .btn {
        font-size: 12px;
        /* Adjust button size */
        padding: 6px 12px;
    }
}

/* Navigation bar styles */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0px;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    margin-top: 0px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.nav-menu li {
    margin: 0 15px;
}

/* Styling navigation links */
.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: #1dabed;
}

/* Logo styling */
.nav-logo {
    height: 200px;
    width: auto;
    margin: 0 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        padding: 10px 20px;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        display: none;
        /* Hide menu by default */
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-logo {
        height: 40px;
        margin-bottom: 10px;
    }
}

/* Tablet Screens */
@media (max-width: 1024px) {
    .nav-menu {
        justify-content: center;
    }
}

/* Top Header Styles */
.top-header {
    background: #ffffff;
    color: #1D1D1D;
    font-size: 14px;
    padding: 10px 15px;
    display: flex;
    justify-content: flex-end !important;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 300;
    left: 0;
    z-index: 1100;
    flex-wrap: wrap;
}

.top-header .container-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.contact-info {
    font-size: 14px;
    color: #228BE6;
}

.contact-info a {
    color: #228BE6;
    text-decoration: none;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #1D1D1D;
    font-size: 16px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #1dabed;
}

.container-top-header {
    display: flex;
    justify-content: flex-end !important;
    gap: 15px;
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .top-header {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .top-header .container-top-header {
        flex-direction: column;
        width: 100%;
    }

    .contact-info {
        margin-bottom: 5px;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-icons a {
        font-size: 14px;
        margin: 5px;
    }
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #487fd0de;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    background-color: #53c5e2b0;
    z-index: 1000;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 800;
}

.mobile-menu ul li {
    padding: 10px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Hide desktop menu */
    }

    .burger-menu {
        display: flex;
        /* Show burger menu */
    }

    .mobile-menu {
        display: none;
        /* Initially hidden */
    }

    .mobile-menu.active {
        display: block;
        /* Show when active */
    }
}

@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
        margin-left: 600px;
    }
}

@media (max-width: 480px) {
    .burger-menu {
        display: flex;
        margin-left: 250px;
    }
}

/* Footer General Styles */
.site-footer {
    background: #1C2541;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Top: Logo & Navigation */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff;
}

/* Footer Logo */
.footer-logo img {
    height: 200px;
    width: auto;
}

/* Footer Navigation */
.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav ul li a:hover {
    color: #3e476081;
}

/* Footer Middle: Contact & Social */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Contact Info */
.footer-contact {
    flex: 1;
    text-align: left;
}

.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-contact p {
    margin: 5px 0;
}

/* Social Media Links */
.footer-social {
    flex: 1;
    text-align: right;
}

.footer-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #f0a500;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ffffff;
    padding-top: 10px;
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 1024px) {

    .footer-top,
    .footer-middle {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        margin-bottom: 15px;
        display: block;
        margin: 0 auto;
    }

    .footer-contact,
    .footer-social {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-social a {
        margin: 10px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .footer-top,
    .footer-middle {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        margin-bottom: 10px;
        width: 250px;
    }

    .footer-contact,
    .footer-social {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social a {
        margin: 8px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {

    .footer-top,
    .footer-middle {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        margin-bottom: 8px;
        width: 220px;
    }

    .footer-contact,
    .footer-social {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .footer-social a {
        margin: 5px;
        font-size: 16px;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.site-header2 {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: #53C6E2;
}

/* Navigation bar styles */
.navbar2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0px;
}

/* Navigation menu */
.nav-menu2 {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #53C6E2;
    align-items: center;
    margin-top: 0px;
}

.nav-menu2 li {
    margin: 0 15px;
}

/* Styling navigation links */
.nav-menu2 li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.3s;
}

.nav-menu2 li a:hover {
    color: #07587d;
}

/* Logo styling */
.nav-logo2 {
    height: 200px;
    width: auto;
    margin: 0 20px;
    /* Spacing around logo */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar2 {
        position: relative;
        padding: 10px 20px;
    }

    .nav-menu2 {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        display: none;
    }

    .nav-menu2.active {
        display: flex;
    }

    .nav-menu2 li {
        margin: 10px 0;
    }

    .nav-logo2 {
        height: 40px;
        margin-bottom: 10px;
    }
}

/* Tablet Screens */
@media (max-width: 1024px) {
    .nav-menu2 {
        justify-content: center;
    }
}


.about-us-section {
    padding: 50px 20px;
    margin-bottom: 50px;
    margin-top: -180px;
    opacity: 1;
    text-align: center;
    animation: fadeInUp 3s ease-out forwards;
    animation-delay: 0.5s;
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.aboutus-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-right: 80px;
    margin: 0 auto;
    opacity: 0;
    animation: slideInLeft 3s ease-out forwards;
    animation-delay: 0.5s;
}

.aboutus-image img {
    width: 500px;
    height: 400px;
    border-radius: 0px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.8s ease;
    background: rgba(122, 170, 221, 0.2);
    overflow: hidden;
    border-color: #3767AF;
}

.aboutus-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: #3767AF;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #3767AF;
    text-align: center;

}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    color: #3767AF !important;
}

.about-text p {
    color: #57585B !important;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

.about-text h2 {
    color: #4AA8D3 !important;

}


.about-text h2,
.about-text h3,
.about-text p,
.about-text .btn {
    opacity: 0;
    animation: slideInRight 3s ease-out forwards;
}

/* Delays for smoother sequential animation */
.about-text h2 {
    animation-delay: 0.8s;
    font-size: 36px;
    font-weight: bold;
    color: #3767AF;
}

.about-text h3 {
    animation-delay: 0.9s;
    font-size: 24px;
    color: #3767AF;
    margin-bottom: 10px;
}

.about-text p {
    animation-delay: 1s;
    font-size: 18px;
    color: #3767AF;
    line-height: 1.6;
}

.about-text .btn {
    animation-delay: 1.1s;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.about-text .btn:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-us-section {
        padding: 40px 15px;
        margin-top: -50px;
        margin-left: -30px;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .aboutus-image img {
        width: 400px;
        height: 300px;
        margin-right: -15px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 30px 10px;
    }

    .aboutus-image img {
        max-width: 90%;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 14px;
    }

    .about-text .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-us-section {
        padding: 20px 10px;
        margin-top: -50px;
    }

    .aboutus-image img {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 20px;
    }

    .about-text p {
        font-size: 12px;
    }

    .about-text .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.service-times-section {
    position: relative;
    /* Make sure the section is positioned */
    padding: 50px 20px;
    text-align: center;
}

.service-times-section::before {
    content: "";
    /* Adds the pseudo-element */
    position: absolute;
    /* Positions it relative to the parent section */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(15, 95, 175, 0.548), rgba(7, 119, 180, 0.43)), url('BD5A0346.jpg');
    background-size: cover;
    z-index: -1;
    /* Puts the image behind the content */
}

.service-times-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
}

.service-times-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-time-block {
    background: linear-gradient(130deg, #4AA8D3, rgba(137, 208, 233, 0.7));
    padding: 20px;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    height: 90px;
    color: #ffffff;
}

.service-time-block h3 {
    font-size: 22px;
    color: #073d8e;
    margin-top: 1px;
}

.service-time-block p {
    font-size: 30px;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-times-section {
        padding: 40px 15px;
        margin-left: -30px;
    }

    .service-times-grid {
        gap: 20px;
        grid-template-columns: auto;
    }

    .service-time-block {
        width: 90%;
        /* Adjust width for smaller screens */
        max-width: 200px;
    }

    .service-times-section h2 {
        font-size: 28px;
    }

    .service-time-block h3 {
        font-size: 30px;
    }

    .service-time-block p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .service-times-section {
        padding: 30px 10px;
    }

    .service-times-grid {
        flex-direction: column;
        /* Stack blocks vertically */
        align-items: center;
    }

    .service-time-block {
        width: 100%;
        /* Full width for mobile */
        max-width: 350px;
    }

    .service-times-section h2 {
        font-size: 24px;
    }

    .service-time-block h3 {
        font-size: 18px;
    }

    .service-time-block p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-times-section {
        padding: 20px 10px;
    }

    .service-times-section h2 {
        font-size: 20px;
    }

    .service-time-block h3 {
        font-size: 16px;
    }

    .service-time-block p {
        font-size: 12px;
    }
}

/* Hidden State */
.service-times-section.hidden {
    opacity: 0;
    transform: translateY(20px);
    /* Start slightly below */
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

/* Visible State */
.service-times-section.visible {
    opacity: 1;
    transform: translateY(0);
    /* Move to original position */
}

/* Individual Service Time Block Animation */
.service-time-block.hidden {
    opacity: 0;
    transform: translateY(20px);
    /* Start slightly below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-time-block.visible {
    opacity: 1;
    transform: translateY(0);
    /* Move to original position */
}

/* Ministries Section */
.ministries-section {
    text-align: center;
    padding: 50px 20px;
    margin-top: 20px;
    text-decoration: none;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    color: #3767AF;
}

.section-subtitle {
    font-size: 30px;
    color: #0B132B;
    margin-bottom: 30px;
}

.ministries-grid {
    display: flex;
    justify-content: center;
    /* Centers the ministry cards */
    gap: 60px;
    /* Space between cards */
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

.ministry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px;
    /* Adjust size as needed */
    gap: 10px;
    /* Space between image and title */
}

.ministry-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #3767AF;
    gap: 20px;
}

.ministry-title {
    margin-top: 10px;
    font-size: 25px;
    color: #3767AF;
    text-decoration: none;
}

.ministry-card a {
    text-decoration: none;
    color: inherit;
}


.ministries-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 100px;
}


.ministries-header h2 {
    font-size: 36px;
    color: #3767AF;
    margin-bottom: 10px;
}

/* Ministry Details Section */
.ministry-details {
    padding: 50px 20px;
    background-color: #ffffff;
    color: #333;
    text-align: center;
    margin-top: 150px;
    text-decoration: none;
}

.ministry-details .container-ministries {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 150px;
}

/* Ministry Header */
.ministry-header {
    margin-bottom: 20px;
}

.ministry-header .ministry-title {
    font-size: 2.5rem;
    color: #141414;
    margin-bottom: 10px;
    font-weight: bold;
    text-decoration: none;
}

/* Ministry Content */
.ministry-content {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* Ensures responsiveness */
    text-align: left;
    /* Aligns text properly */
}

.ministry-content img {
    width: 100%;
    max-width: 700px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.ministry-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    /* Prevents text from stretching too wide */
    margin: 0;
}


.container-min2 {
    margin-top: 80px;
}

.container-min2 h2 {
    font-size: 2.5rem;
    color: #3767AF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.container-min2 p {
    font-size: 2.0rem;
    color: #0B132B;
    margin-top: 20px;
    font-weight: 500;
}

.ministries-section-archive {
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
    margin-top: 110px;
}

/* Hidden State */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    /* Start slightly below */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {

    .ministries-section,
    .ministries-header,
    .ministries-section-archive,
    .ministry-details,
    .container-min2 {
        text-align: center;
        padding: 40px 15px;
        margin-top: 80px;
    }

    .ministries-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .ministry-card {
        width: 90%;
        max-width: 450px;
    }

    .ministry-card img {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }

    .ministry-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .ministry-content img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .ministry-description {
        max-width: 100%;
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title,
    .ministry-header .ministry-title,
    .container-min2 h2 {
        font-size: 2rem;
    }

    .container-min2 p {
        font-size: 1.3rem;
    }

    .ministries-header {
        margin-left: 0;
    }

    .ministry-details .container-ministries {
        padding: 20px;
        margin-top: 50px;
        width: 90%;
    }

    .hidden {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }

    .btn-primary2-container {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 15px;
        justify-content: center;
        margin-left: 200px;
    }

    .btn-primary2 {
        margin: 20px auto !important;
        width: 100%;
        max-width: 250px;
        padding: 15px 25px;
        font-size: 1rem;
        text-align: center;
        margin-right: 500px;
    }

}

@media (max-width: 768px) {

    .ministries-section,
    .ministries-header,
    .ministries-section-archive,
    .ministry-details,
    .container-min2 {
        text-align: center;
        padding: 40px 15px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {

    .ministries-section,
    .ministries-header,
    .ministries-section-archive,
    .ministry-details,
    .container-min2 {
        text-align: center;
        padding: 40px 15px;
        margin-top: 30px;
    }
}

.btn.btn-primary {
    padding: 12px 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #1e41beec;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn.btn-primary:hover {
    background-color: #1e41beec;
    transform: scale(1.05);
}

.btn.btn-primary:active {
    background-color: #1e41beec;
    transform: scale(0.95);
}

.btn.btn-primary:focus {
    outline: 0px solid #80bdff;
    outline-offset: 2px;
}

.btn-primary2 {
    display: inline-block;
    padding: 12px 12px;
    min-width: 150px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #1e41beec;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    margin-left: 70px;
    width: auto;
    margin-top: 40px;
}

.btn.btn-primary2:hover {
    background-color: #1e41beec;
    transform: scale(1.05);
}

.btn.btn-primary2:active {
    background-color: #1e41beec;
    transform: scale(0.95);
}

.btn.btn-primary2:focus {
    outline: 0px solid #80bdff;
    outline-offset: 2px;
}

.upcoming-events {
    margin-top: 50px;
    background-color: rgba(137, 207, 233, 0.095);
    padding: 30px 0;
    margin-bottom: 80px;
}

.upcoming-events h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #3767AF;
    margin-left: 30px;
}

.desc-event {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: #0B132B;
}

.events-container {
    text-align: center;
    padding: 50px 20px;
    background-size: cover;
    background-position: center;
    color: #000000;
    margin-top: 160px;
}

.events-container h1 {
    font-size: 2.5rem;
    color: #3767AF;
}

.subt {
    font-size: 2.0rem;
    color: #0B132B;
    margin-top: 20px;
    font-weight: 500;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.event-card {
    width: 300px;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #c60c0c;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-card img {
    width: 100%;
    border-radius: 10px;
}

.event-card h3 {
    font-size: 18px;
    margin-top: 10px;
    color: #3767AF;
}

.event-card a {
    text-decoration: none;
    color: inherit;
}

.event-card a:hover {
    color: inherit;
}

/* Event Details Section */
.event-details {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.event-details p {
    font-size: 1.1rem;
    color: #555;
    margin: 10px 0;
}

.event-details p strong {
    color: #007bff;
}

/* Event Content Section */
.event-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-top: 20px;
}

.event-content p {
    margin-bottom: 15px;
}

/* Links in Content */
.event-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid #007bff;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.event-content a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

/* Event Card Image Styling */
.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin-top: -50px;
    }

    .container h1 {
        font-size: 2rem;
    }

    .event-details p {
        font-size: 1rem;
    }

    .event-content {
        font-size: 0.95rem;
    }
}

/* Container Styling */
.container-event {
    margin-left: 360px;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin-top: 200px;
    margin-bottom: 50px;
    padding: 20px;
    background-color: #f9f9f970;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Event Title */
.container-event h1 {
    font-size: 2.5rem;
    color: #3767AF;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Responsive Styles for .container-event */
@media (max-width: 1024px) {
    .container-event {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
        margin-top: 150px;
        padding: 15px;
    }

    .container-event h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container-event {
        margin-left: auto;
        margin-right: auto;
        max-width: 95%;
        margin-top: 100px;
        padding: 10px;
    }

    .container-event h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container-event {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        margin-top: 80px;
        padding: 8px;
    }

    .container-event h1 {
        font-size: 1.5rem;
    }
}

.see-all-events {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 40px;
}

.see-all-events .btn {
    padding: 10px 50px;
    width: 300px;
    font-size: 16px;
    background-color: #1e41beec;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
    font-weight: bold;
    margin-top: 40px;
}

.see-all-events .btn:hover {
    background-color: #1e41beec;
}

/* About Us Page */
.about-us-page {
    padding: 60px 20px;
    margin-top: 170px;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(1deg, #53C6E2, #4c9cc2);
    /* Gradient from #53C6E2 to a slightly darker shade */
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-right: 80px;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.7s;

    margin: 0 auto;
}

.about-image img {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


.about-text {
    flex: 1;
    text-align: center;
}

.about-text h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 24px;
    color: #555;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
}

/* Zig-Zag Layout */
.about-content-wrapper.odd {
    flex-direction: row-reverse;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-us-page {
        padding: 40px 15px;
    }

    .about-content-wrapper {
        gap: 30px;
    }

    .about-text h1 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 20px;
    }

    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about-content-wrapper {
        flex-direction: column;
        /* Stack content vertically */
        text-align: center;
        padding: 20px;
    }

    .about-image img {
        width: 100%;
    }

    .about-text h1 {
        font-size: 24px;
    }

    .about-text h2 {
        font-size: 18px;
    }

    .about-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-us-page {
        padding: 20px 10px;
    }

    .about-content-wrapper {
        padding: 15px;
    }

    .about-text h1 {
        font-size: 20px;
    }

    .about-text h2 {
        font-size: 16px;
    }

    .about-text p {
        font-size: 12px;
    }
}

/* Gallery Section */
.gallery-section {
    text-align: center;
    margin: 50px 0;

}

.gallery-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #3767AF;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.carousel-container {
    position: relative;
    height: 400px;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
}

.carousel-slide img {
    width: auto;
    height: 500px;
    border-radius: 10px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transform: translateY(-50%);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

@media screen and (max-width: 768px) {
    .carousel-container {
        height: 300px;
        /* Reduce height for smaller screens */
    }

    .carousel-slide img {
        height: 300px;
        /* Reduce image size */
        width: 350px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 18px;
        /* Make navigation buttons smaller */
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .carousel-container {
        height: 250px;

    }

    .carousel-slide img {
        height: 200px;
        width: 300px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 16px;
        padding: 8px;
    }
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0px;
    padding: 20px;
    margin-top: 280px;
    margin-bottom: 50px;
    margin-left: 0px;
    justify-content: center;
}

.map-container {
    flex: 1;
    min-width: 600px;
    max-width: 600px;
    margin-right: 100px;
    margin-left: 100px;
}

.contact-details {
    flex: 2;
    min-width: 300px;
    max-width: 600px;
    background-color: #99c4f31d;
    color: #1C2541;
    border-radius: 5px;
    text-align: center;

}

.contact-details h3 {
    margin-top: 0;
    color: #1C2541;
    padding: 4px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .map-container {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-top: -180px;
    }

    .map-container iframe {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .map-container {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-top: -180px;
    }

    .map-container iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .map-container {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-top: -180px;
    }

    .map-container iframe {
        height: 150px;
    }
}