/********** Template CSS **********/
:root {
    --primary: #32C36C;
    --light: #F6F7F8;
    --dark: #1A2A36;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
/* 🔹 Hero / Carousel height control */
.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-carousel-item {
    max-height: 860px;        /* ✅ height limit */
    overflow: hidden;
}

/* 🔹 Image fit inside height */
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 860px;            /* match max height */
    object-fit: cover;        /* keeps image nice */
}

/* 🔹 Center text vertically */
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item img {
        height: 420px;
    }
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

     .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}
/* ================================
   ICC MOBILE VIEW – FINAL FIX
   ================================ */

/* Stop horizontal & vertical overflow */
html, body {
  overflow-x: hidden !important;
}

/* --- Carousel wrapper fix --- */
.carousel-wrapper {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: #fff;
}

/* --- Carousel image height control --- */
.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel img {
  height: 100vh;
}

@media (max-width: 768px) {
  .header-carousel,
  .header-carousel .owl-stage-outer,
  .header-carousel .owl-stage,
  .header-carousel .owl-item,
  .header-carousel img {
    height: 65vh !important;
  }

  .header-carousel img {
    object-fit: cover;
  }
}

/* --- REMOVE GREY GAP BELOW CAROUSEL --- */
.header-carousel + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* --- FIX OWL DOTS POSITION (WHITE CIRCLES) --- */
.header-carousel .owl-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.header-carousel .owl-dot span {
  background: #ffffffaa;
}

/* ==========================
   PARISH NOTIFICATIONS
   ========================== */

.faq_main_content h6 {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.faq_main_content h6 i {
    transition: transform 0.3s;
}

/* Open */
.faq_main_content h6.open {
    background: #1a2a36;
    color: #fff;
}
.faq_main_content h6.open i {
    transform: rotate(90deg);
}

/* Content */
.faq_main_content > div {
    display: none;
    padding: 0 16px 14px;
}
.faq_main_content > div.open {
    display: block;
}

/* Priority */
.faq_main_content h6.urgent {
    border-left: 6px solid #dc3545;
    background: #fff3f3;
    color: #dc3545;
}
.faq_main_content h6.urgent.open {
    background: #dc3545;
    color: #fff;
}

/* Date tag */
.date-tag {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.8;
}

/* Auto-scroll container */
.auto-scroll {
    max-height: 380px;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
    .auto-scroll {
        max-height: 300px;
    }
}
/* --- FLASH NEWS POSITION FIX --- */
.flash-news-container {
  margin-top: 0 !important;
  padding-top: 6px;
}

/* --- Mobile navbar offset correction --- */
@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
}

/* --- Disable WOW spacing issues on mobile --- */
@media (max-width: 768px) {
  .wow {
    animation: none !important;
    visibility: visible !important;
  }
}

/*.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/sub_banner_1.png) center center no-repeat;
    background-size: cover;
}
.page-header1 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/School_Header.png) center center no-repeat;
    background-size: cover;
}
.page-header3 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/Banner_women.jpg) center center no-repeat;
    background-size: cover;
}
.page-header4 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/banner_pubs.png) center center no-repeat;
    background-size: cover;
}
*/

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

    .page-header1 {
        background: url(../img/School_Header.png) no-repeat center bottom;
        background-size: cover;
        min-height: 400px; /* matches your image height */
        color: var(--ks-white);
        position: relative;
        overflow: hidden;
    }
    .page-header2 {
        background: url(../img/banner_mgn.png) no-repeat center bottom;
        background-size: cover;
        min-height: 400px; /* matches your image height */
        color: var(--ks-white);
        position: relative;
        overflow: hidden;
    }
    .page-header3 {
        background: url(../img/banner12.jpg) no-repeat center bottom;
        background-size: cover;
        min-height: 400px; /* matches your image height */
        color: var(--ks-white);
        position: relative;
        overflow: hidden;
    }
    /* Optional: soft overlay for text readability */
    .page-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(26, 42, 54, 0.6); /* ks-green overlay */
        z-index: 0;
    }

    .page-header .container {
        position: relative;
        z-index: 1;
    }
    .page-header1::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(26, 42, 54, 0.6); /* ks-green overlay */
        z-index: 0;
    }

    .page-header1 .container {
        position: relative;
        z-index: 1;
    }

    .page-header2::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(26, 42, 54, 0.6); /* ks-green overlay */
        z-index: 0;
    }
    .page-header2 .container {
        position: relative;
        z-index: 1;
    }
    .page-header3::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(26, 42, 54, 0.6); /* ks-green overlay */
        z-index: 0;
    }
    .page-header3 .container {
        position: relative;
        z-index: 1;
    }

   
/* Responsive height for smaller screens */
@media (max-width: 992px) {
    .page-header {
        min-height: 400px;
        background-position: center bottom;
    }
    .page-header h1 {
            font-size: 2rem;
        }
      
    .page-header1 {
        min-height: 400px;
        background-position: center bottom;
    }
    .page-header1 h1 {
            font-size: 2rem;
    }
    .page-header2 {
            min-height: 400px;
            background-position: center bottom;
    }
    .page-header2 h1 {
            font-size: 2rem;
    }
    .page-header3 {
            min-height: 400px;
            background-position: center bottom;
    }
    .page-header3 h1 {
            font-size: 2rem;
    }
}

/*** About ***/
/*@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}*/


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Women Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

    .project-img::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        top: 0;
        left: 0;
        background: var(--bs-secondary);
        border-radius: 10px;
        opacity: 1;
        z-index: -1;
        transition: .5s;
    }

    .project-img::after {
        content: "";
        width: 150px;
        height: 150px;
        position: absolute;
        right: 0;
        bottom: 0;
        background: var(--bs-primary);
        border-radius: 10px;
        opacity: 1;
        z-index: -1;
        transition: .5s;
    }

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

    .project-content a {
        display: inline-block;
        padding: 20px 25px;
        background: var(--bs-primary);
        border-radius: 10px;
    }

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Women End ***/

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.flash-news-container {
    background-color: #001f3f;
    color: white;
    padding: 10px 10px;
    overflow: hidden;
    position: relative;
}

.flash-news-title {
    position: absolute;
    left: 10px;
    font-weight: bold;
    z-index: 2;
    background: #c53030;
    padding: 5px 10px;
    border-radius: 3px;
}

.news-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding-left: 150px; /* Leave space for title */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-item {
    display: inline-block;
    margin-right: 50px;
}

    .news-item::before {
        content: "🗞️";
        margin-right: 5px;
    }

.news-box {
    width: 100%;
    border: 3px solid #001f3f; /* Navy blue border */
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-header {
    background-color: #001f3f; /* Navy blue */
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 2px solid #001f3f;
}

.scroll-box {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.scroll-text {
    position: absolute;
    animation: scroll-up 10s linear infinite;
}

@keyframes scroll-up {
    0% {
        top: 100%;
    }

    100% {
        top: -100%;
    }
}

.scroll-text p {
    margin: 10px;
    padding: 0;
}

* {
    box-sizing: border-box;
}


.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slides img {
    width: 100%;
    border-radius: 10px;
}

.nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav button {
    background-color: rgba(0,0,0,0.5);
    color: white;
border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.nav button:hover {
    background-color: rgba(0,0,0,0.8);
}
.ks-lib-hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(
             rgba(10, 20, 30, 0.75),
             rgba(10, 20, 30, 0.75)),
             url('/static/images/libraries-banner.jpg') center/cover;
  color: #fff;
}

.ks-lib-title {
  font-size: 2.5rem;
  font-weight: 800;
}

.ks-lib-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
}
.ks-lib-card:hover {
  transform: translateY(-4px);
}

.ks-lib-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.ks-lib-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.ks-lib-card:hover .ks-lib-img {
  transform: scale(1.08);
}

.ks-lib-program-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.ks-lib-program-card:hover {
  transform: translateY(-4px);
}

.ks-lib-program-card i {
  font-size: 38px;
  color: #f6c343;
}
.ks-pub-hero {
  background: linear-gradient(
      rgba(10,20,30,0.75),
      rgba(10,20,30,0.75)),
    url('/static/images/publication-banner.jpg') center/cover;
  padding: 120px 0;
  position: relative;
  color: #fff;
}

.ks-pub-overlay {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
}

.ks-pub-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
}

.ks-pub-card:hover {
  transform: translateY(-4px);
}

.ks-pub-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.ks-pub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.ks-pub-card:hover .ks-pub-img {
  transform: scale(1.08);
}
/* ===============================
   MASS TIMINGS – ICC DOMBIVLI
================================ */

.mass-timings-section {
    background: linear-gradient(to bottom right, #f9fafb, #eef2f4);
    padding: 80px 0;
}

.section-title .subtitle {
    color: var(--ks-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title h2 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #1a2a36;
    margin-bottom: 10px;
}

.mass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.mass-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.mass-card:hover {
    transform: translateY(-6px);
    border-color: var(--ks-gold);
}

.mass-card.special {
    border-color: var(--ks-gold);
    background: linear-gradient(145deg, #fff8e6, #ffffff);
}

.mass-day {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a36;
    margin-bottom: 10px;
}

.mass-details h5 {
    font-size: 26px;
    font-weight: 800;
    color: var(--ks-green);
}

.mass-lang {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}

.mass-location {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #888;
}

.badge-special {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ks-gold);
    color: var(--ks-green);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .mass-timings-section {
        padding: 50px 0;
    }
}

.gallery-thumb {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-thumb img {
  transition: transform 0.4s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}
.breadcrumb {
  background: transparent;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #1a2a36;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #f6c343;
}

.breadcrumb-item.active {
  color: #6c757d;
  font-weight: 600;
}
/* ===============================
   HOME GALLERY SLIDER
================================ */
.home-gallery {
  background: #f9fafb;
}

/* Card */
.gallery-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

/* Fixed image size */
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;          /* ✅ FIXED HEIGHT */
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 37%,
    #f0f0f0 63%
  );
  animation: shimmer 1.4s ease infinite;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ✅ CROPS uniformly */
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

/* Featured badge */
.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f6c343;
  color: #1a2a36;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* Info */
.gallery-info {
  padding: 12px;
}

.gallery-info h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Owl arrows */
.gallery-carousel .owl-nav button {
  position: absolute;
  top: 40%;
  background: rgba(26,42,54,0.8) !important;
  color: #fff !important;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}

.gallery-carousel .owl-nav .owl-prev {
  left: -15px;
}

.gallery-carousel .owl-nav .owl-next {
  right: -15px;
}

/* Dots */
.gallery-carousel .owl-dots {
  margin-top: 20px;
}

.gallery-carousel .owl-dot span {
  background: #cfd8dc !important;
}

.gallery-carousel .owl-dot.active span {
  background: #f6c343 !important;
}
/* Animations */
@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Mobile */
/* @media (max-width: 768px) {
  .gallery-img-wrapper {
    height: 180px;
  }
} */
@media (max-width: 768px) {
  .gallery-carousel .owl-nav {
    display: none;
  }
}

/* Small window container */
.mass-window {
    max-width: 100%;
    max-height: 420px;        /* 👈 controls window height */
    overflow-y: auto;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Grid for days */
.mass-day-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Day card */
.mass-day-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px;
    border-left: 4px solid #0d6efd;
}

/* Day header */
.mass-day-header {
    font-weight: 600;
    text-align: center;
    padding: 6px;
    margin-bottom: 8px;
    background: #e7f1ff;
    border-radius: 8px;
    font-size: 14px;
}

/* Mass rows */
.mass-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Time */
.mass-time-row .time {
    font-weight: 600;
    min-width: 55px;
}

/* Info */
.mass-time-row .info {
    text-align: right;
    flex: 1;
}

.mass-time-row .language {
    display: block;
    font-size: 12px;
}

.mass-time-row .location {
    font-size: 11px;
    color: #6c757d;
}

/* Special mass */
.mass-time-row.special {
    border-left: 3px solid #dc3545;
    background: #fff5f5;
}

/* Special badge */
.badge-special {
    font-size: 10px;
    background: #dc3545;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Scrollbar (nice & thin) */
.mass-window::-webkit-scrollbar {
    width: 6px;
}

.mass-window::-webkit-scrollbar-thumb {
    background: #cfd8dc;
    border-radius: 6px;
}
.mass-window::-webkit-scrollbar-thumb:hover {
    background: #b0bec5;
}

/* VIDEO HEADER */
.video-header-wrapper {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.video-header {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Background video */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

/* Content */
.video-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Animations */
.animate-fade {
    animation: fadeIn 1.8s ease-in-out;
}

.animate-slide {
    animation: slideUp 1.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile optimisation */
@media (max-width: 768px) {
    .video-header-wrapper {
        height: 70vh;
    }

    .video-content h1 {
        font-size: 2rem;
    }
}


