﻿
/* gurudwara khera sahib video start */
.responsive-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    max-height: 70vh;
    /* optional - limits size on very large screens */
    object-fit: cover;
    margin-top:20px;
    /* keeps proper video cropping */
}

.pinky{
    /*background-color: blueviolet;*/
    margin-bottom:10px;

}
    .pinky h5 {
        color: var(--secondary-color);
    }
    
    
    .pinky2{
    /*background-color: blueviolet;*/
    margin-bottom:5px;

}
    .pinky2 h6 {
        color: var(--secondary-color);
    }
.section-heading h2 {
    color: var(--secondary-color);
    font-weight:700;
    margin-top:15px;
    margin-bottom:15px;
}

.preserving-section{
  
}

.sub-heading {
    color: #ffc105;
    font-weight: 700;
}


.default-btn {
    display: inline-block;
    background: #ffc105;
    color: #122f2b;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
    letter-spacing: 0;
    /* margin-left: 5px; */
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: all ease 700ms;
    -moz-transition: all ease 700ms;
    -webkit-transition: all ease 700ms;
    -ms-transition: all ease 700ms;
    -o-transition: all ease 700ms;
    z-index: 1;
/*  custom */
    margin-top:20px;
}

    .default-btn:hover {
        color: #fff;
    }

    .default-btn span {
        background: #00705d none repeat scroll 0 0;
        border-radius: 50%;
        display: block;
        height: 0;
        position: absolute;
        transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transition: width 0.6s ease 0s, height 0.6s ease 0s;
        -moz-transition: width 0.6s ease 0s, height 0.6s ease 0s;
        -webkit-transition: width 0.6s ease 0s, height 0.6s ease 0s;
        -ms-transition: width 0.6s ease 0s, height 0.6s ease 0s;
        -o-transition: width 0.6s ease 0s, height 0.6s ease 0s;
        width: 0;
        z-index: -1;
    }

    .default-btn:hover span {
        height: 562.5px;
        width: 562.5px;
    }
        @media (max-width: 768px) {
            .responsive-video {
                max-height: 50vh;
            }
        }
        /* gurudwara khera sahib video end */




        /* ==========================================================================
   Service Section  start
   ========================================================================== */
    .service-box{
    background-color: #fff;
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 20px 30px 5px rgba(61, 1, 4, .1);
    overflow: hidden;
    position: relative;
    transition: all ease 700ms;
    -moz-transition: all ease 700ms;
    -webkit-transition: all ease 700ms;
    -ms-transition: all ease 700ms;
    -o-transition: all ease 700ms;
    z-index: 1;
}

.service-box span {
    background: #00705d none repeat scroll 0 0;
    border-radius: 50%;
    display: block;
    height: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -moz-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -webkit-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -ms-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -o-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    width: 0;
    z-index: -1;
}

.service-box:hover span {
    height: 862.5px;
    width: 862.5px;
}

.service-content {
    padding: 38px;
}

    .service-content i {
        font-size: 60px;
        color: #ffc105;
    }

    .service-content h3 {
        font-size: 20px;
        line-height: 26px;
        font-weight: 700;
        margin: 12px 0;
        color: var(--secondary-color);
    }

    .service-content .read-more {
        font-family: "Work Sans", sans-serif;
        color: #00705d;
        font-size: 14px;
        font-weight: 600;
        text-transform: capitalize;
    }

.service-icon {
    position: absolute;
    bottom: 10px;
    right: 22px;
    opacity: .2;
}

    .service-icon i {
        font-size: 80px;
        color: #ffc105;
    }

.service-box:hover .service-content h3,
.service-box:hover .service-content p,
.service-box:hover .service-icon i {
    color: #fff;
}

.service-box:hover .service-content i,
.service-box:hover .read-more {
    color: #ffc105;
}


/* ==========================================================================
   Service Section end
   ========================================================================== */


/* ------videos section start ---------------*/
/* =======================
   Base (Laptop/Desktop)
======================= */
.video-gallery {
    background-color: #f8f9fa;
}

.video-card {
    height: 90%;
}

    .video-card video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .video-card:hover video {
        transform: scale(1.1);
    }

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    transition: transform 0.3s ease;
}

.video-card:hover .play-overlay i {
    transform: scale(1.2);
}

/* Lightbox (desktop default) */
#videoModal .modal-dialog {
    max-width: 500px;
}

#videoModal video {
    max-height: 100vh;
    width: 100%;
    object-fit: contain;
}

/* =======================
   📱 Responsive Tweaks
======================= */

/* Tablet screens (768px – 1024px) */
@media (max-width: 1024px) {
    .video-card video {
        height: 600px;
        /* smaller fixed height for tablets */
    }

    #videoModal .modal-dialog {
        max-width: 420px;
        /* narrower modal */
    }

    #videoModal video {
        max-height: 80vh;
        /* slightly shorter */
    }
}

/* Mobile screens (up to 767px) */
@media (max-width: 767px) {
    .video-card video {
        height: 600px;
        /* smaller video height on mobile */
    }

    .video-gallery {
        padding: 40px 15px;
        /* tighter spacing */
    }

    #videoModal .modal-dialog {
        max-width: 95%;
        margin: 0 auto;
    }

    #videoModal video {
        max-height: 65vh;
        /* prevents scrolling on small phones */
    }

    .play-overlay i {
        font-size: 1.8rem;
        /* smaller play icon */
    }
}


/* ------videos section end--------- */






/*-------------------Projects page start----------------*/


/* history start */

.tc-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.tc-section {
    margin-bottom: 2.5rem;
}

    .tc-section h4 {
        font-weight: bold;
        margin-bottom: 1rem;
        color: #222;
    }

    .tc-section p {
        text-align: justify;
        line-height: 1.7;
    }

.tc-toc {
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

    .tc-toc a {
        text-decoration: none;
        color: #0d6efd;
    }

        .tc-toc a:hover {
            text-decoration: underline;
        }

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
}

.tc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .tc-container {
        padding: 2rem 1rem;
    }

    .tc-actions {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* ******history ends************* */

html {
    scroll-behavior: smooth;
    /* scroll-padding-top: 250px; */
}

#header .navbar-fixed {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.tc-section {
    page-break-inside: avoid;
    break-inside: avoid;
}

    .tc-section::before {
        content: "";
        display: block;
        height: 150px;
        /* Match your header height */
        margin-top: -150px;
        visibility: hidden;
        color: var(--secondary-color);
    }

    .tc-section h4 {
        color: var(--secondary-color);
    }.tc-section h3 {
        color: var(--secondary-color);
    }

#termsContent {
    width: 100%;
}
/*------------------Projects Page end------------------*/
