:root {
    --primary-brown: #8B6F47;
    --secondary-green: #122f2a;
    --light-brown: #D4B896;
    --dark-brown: #5D4E37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow semi condensed', sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo img {
    max-width: 150px;
    height: auto;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-brown);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loader-text {
    color: white;
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Container System */
.hero-container {
    max-width: 1400px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1500px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

@media (min-width: 1400px) {

    .hero-container {
        max-width: 1650px;
    }
}

@media (max-width: 768px) {

    .hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Top Info Bar */
.top-bar {
    background-color: var(--secondary-green);
    color: white;
    padding: 15px 0;
    font-size: 0.95rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--light-brown);
}

.top-bar i {
    margin-right: 5px;
}

/* Main Navigation */
.main-nav {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-brown);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-green);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-menu li a {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-menu li a:hover {
    color: var(--primary-brown);
}

.contact-btn {
    background-color: var(--primary-brown);
    color: white;
    padding: 4px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.contact-btn svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.contact-btn:hover {
    background-color: var(--dark-brown);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-brown);
    cursor: pointer;
}

/* Hero Section - Full Width Video (No Side Spaces) */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    transform: translate(-50%, -50%) scale(3.3);
    transform-origin: center;

    pointer-events: none;
}


/* Hide YouTube logo and controls */
.video-container iframe {
    filter: brightness(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 47, 42, 0.85) 0%, rgba(18, 47, 42, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    color: white;
    z-index: 10;
}

.hero-content .hero-container {
    max-width: 1400px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-family: 'Barlow semi condensed', sans-serif;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    max-width: 700px;
}

.hero-btn {
    background-color: var(--primary-brown);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--primary-brown);
    font-weight: 600;
}

.hero-btn:hover {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* About Section with Background Image */
.about-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(18, 47, 42, 0.92); */
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-content {
    color: #595959;
    padding-right: 10px;
}

.about-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #151515;
}

.about-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #151515;
}

.about-content h3 {
    display: flex;
    align-items: center;
}

.about-content h3::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 48px;
    margin-right: 0px;
    background-image: url('../images/header.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content .stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: white;
    margin-top: 5px;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;

}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .hero-content .hero-container {
        max-width: 1200px;
    }

    .commandments-image {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .top-bar {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    .top-bar .d-none {
        display: none !important;
    }

    .main-nav {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-image {
        height: 400px;
    }

    .events-section {
        padding: 60px 0;
    }

    .events-section h2 {
        font-size: 2.2rem;
    }

    .commandments-section {
        padding: 60px 0;
    }

    .commandments-image {
        width: 400px;
        height: 400px;
    }

    .service-item {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-section {
        height: 70vh;
        min-height: 450px;
    }

    .top-bar {
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .hero-content {
        bottom: 40px;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .loader-logo img {
        max-width: 100px;
    }

    .loader-text {
        font-size: 1rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content h3 {
        font-size: 1.3rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-image {
        height: 350px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .commandments-section {
        padding: 40px 0;
    }

    .commandments-image {
        width: 300px;
        height: 300px;
    }

    .service-item {
        width: 140px;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 20px auto;
    }

    .commandments-container {
        flex-direction: column;
        min-height: auto;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .top-bar a {
        margin-left: 10px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-btn svg {
        width: 20px;
        height: 20px;
    }

    .loader-logo img {
        max-width: 80px;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }

    .about-section {
        padding: 40px 0;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content .stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about-image {
        height: 300px;
    }

    .events-section h2 {
        font-size: 1.8rem;
    }

    .commandments-image {
        width: 250px;
        height: 250px;
    }

    .service-item {
        width: 100%;
        max-width: 250px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 1. Define the animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 2. Apply the animation to the element */
.fade-in-element {
    animation-name: fadeIn;
    animation-duration: 2s;
    /* Duration of the effect */
    animation-fill-mode: forwards;
    /* Ensures the element stays visible after the animation */
    opacity: 0;
    /* Start hidden before animation runs */
}

[data-aos] {
    transition-property: opacity, transform !important;
}












.cta-section {
    position: relative;
    background-image: url('../images/1.jpg');
    /* Replace with your image */
    background-attachment: fixed;
    /* This creates the parallax effect */
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    background: rgba(0, 0, 0, 0.755);
    /* dark overlay for contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
    color: white;
    flex-direction: column;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.cta-btn {
    background-color: var(--primary-brown);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}








/* Ten Commandments Picture Section */
.commandments-section {
    position: relative;
    padding: 100px 0;
    /* background-color: var(--secondary-green); */
    overflow: hidden;
}

.section-title {
    text-align: center;
    color: var(--primary-brown);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.commandments-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    width: 100%;
}

.commandments-image {
    position: relative;
    width: 800px;
    height: 1500px;
    z-index: 2;
}

.commandments-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Service items around the image */
.service-item {
    position: absolute;
    width: 300px;
    text-align: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-icon {
    width: 100px;
    height: 100px;
    /* background-color: var(--primary-brown); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--secondary-green);
    font-size: 3.8rem;
    /* box-shadow: 0 5px 15px rgba(139, 111, 71, 0.3); */
}

.service-title {
    color: var(--secondary-green);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.service-desc {
    color: var(--primary-brown);
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.view-more {
    color: var(--primary-brown);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}

.view-more:hover {
    color: var(--light-brown);
    text-decoration: underline;
}

/* Position service items around the image */
.service-top {
    top: 0;
    left: 43%;

}

.service-right {
    top: 42%;
    right: 7%;

}

.service-bottom {
    bottom: 0;
    left: 43%;

}

.service-left {
    top: 45%;
    left: 5%;

}

.service-top-right {
    top: 15%;
    right: 15%;
}

.service-top-left {
    top: 15%;
    left: 12%;
}

.service-bottom-right {
    bottom: 10%;
    right: 15%;
}

.service-bottom-left {
    bottom: 10%;
    left: 15%;
}

/* Smoky Animation at Bottom */
.smoke-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.smoke {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    /* background: linear-gradient(to top, rgba(18, 47, 42, 0.8) 0%, transparent 100%); */
}

.smoke-particle {
    position: absolute;
    bottom: 0;
    background-color: rgba(212, 184, 150, 0.15);
    border-radius: 50%;
    animation: floatUp 15s infinite linear;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}
















/* gallery styling */
.gallery-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f9f7f3, #ffffff);
}

.gallery-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;
    gap: 50px;
}

/* LEFT */
.gallery-intro p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* RIGHT */
.gallery-area {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    gap: 25px;
    /* animation: scrollGallery 30s linear infinite; */
    /* will-change: transform; */
}

/* .gallery-area:hover .gallery-track {
            animation-play-state: paused;
        } */

/* Item */
.gallery-item {
    position: relative;
    min-width: 400px;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: opacity 0.45s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay span {
    color: #ddd;
    font-size: 0.9rem;
}

/* CONTROLS */
.gallery-controls {
    margin-top: 35px;
    background: #fff;
    border-radius: 60px;
    padding: 14px 30px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-green);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-brown);
    transform: scale(1.1);
}

.dots {
    display: flex;
    gap: 10px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.4s ease;
    cursor: pointer;
}

.dots span.active {
    width: 28px;
    background: var(--secondary-green);
    border-radius: 20px;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Animation */
@keyframes scrollGallery {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .heading {
        font-size: 2.2rem;
    }

    .gallery-item {
        min-width: 320px;
        height: 320px;
    }

    /* .gallery-track {
                animation-duration: 40s;
            } */
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 80px 0;
    }

    .heading {
        font-size: 1.8rem;
    }

    .gallery-intro p {
        font-size: 1rem;
    }

    .gallery-item {
        min-width: 280px;
        height: 280px;
    }

    .gallery-controls {
        padding: 10px 20px;
        gap: 15px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        min-width: 260px;
        height: 260px;
    }

    .sub-heading {
        font-size: 0.85rem;
    }

    .heading {
        font-size: 1.5rem;
    }
}

.video-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    background: rgba(0,0,0,0.25);
}
