
/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 700 !important;
    font-family: 'Open', sans-serif !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open', sans-serif !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary:hover {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.fixed-top {
    transition: .5s;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar .navbar-nav .nav-link {
    padding: 12px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-toggler {
    background: var(--bs-secondary);
    color: var(--bs-light) !important;
    padding: 10px 20px;
    border: 2px solid var(--bs-primary) !important;
    box-shadow: none !important;
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding-top: 15rem;
    padding-bottom: 6rem;
    background: url("../img/hero.jpg"), center center no-repeat;
    background-size: cover;
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: rgba(255, 255, 255, .5);
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}
/*** Hero Header ***/


/*** About Start ***/
.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}
/*** About End ***/


/*** Activities Start ***/
.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.5s;
}

.activities .activities-item:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}
/*** Events End ***/


/*** Sermon Start ***/
.sermon .sermon-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.sermon-item img {
    transition: 0.5s;
}

.sermon-item:hover img {
    transform: scale(1.2)
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
    transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
    color: var(--bs-primary) !important;
}
/*** Sermon End ***/


/*** Blog Start ***/
.blog-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.2)
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-img {
    height: 100%;
    padding: 25px;
    background: var(--bs-white);
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

.team .team-item:hover img {
    transform: scale(1.2);
}

.team .team-item .team-content {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   padding: 15px;
   transform: translateX(-50%, -50%);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
    background: rgba(241, 193, 82, .7);
}
/*** Team End ***/

/*courses*/
.course-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.course-modal-content {
  background: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 60%;
  max-width: 700px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.course-close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.course-modal h3 {
  margin-bottom: 10px;
  color: #F1C152;
}

.course-modal ul {
  margin-top: 10px;
  padding-left: 20px;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
/*courses*/

/** Rating Start **/
    .stats-section {
      display: flex;
      flex-wrap: wrap;
      background-color: #189655;
      color: white;
      border-radius: 8px;
      margin: 40px auto;
      padding: 40px;
      max-width: 1200px;
      align-items: flex-start;
      justify-content: space-between;
      background-image: url('your-pattern-image.png');
      background-repeat: no-repeat;
      background-position: center;
    }
    .stats-left, .stats-box {
      flex: 1 1 300px;
      padding: 20px;
      box-sizing: border-box;
    }
    .stats-left h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .stats-left p {
      font-size: 16px;
      margin-bottom: 30px;
      line-height: 1.6;
    }
    .students-count {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .students-icon {
      width: 80px;
      height: 80px;
      background: #f0c52c;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      transition: transform 0.5s ease;
    }
    .students-icon:hover {
      transform: rotateY(180deg);
    }
    .students-data {
      font-size: 28px;
      font-weight: bold;
    }
    .students-label {
      font-size: 16px;
      font-weight: normal;
    }
    .stats-box {
      background: white;
      border-radius: 30px;
      padding: 30px;
      color: black;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .rating, .passout {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .rating-icon, .passout-icon {
      width: 80px;
      height: 80px;
      min-width: 80px;
      min-height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 20px;
      border-radius: 12px;
    }
    .rating-icon {
      background: blue;
      color: white;
    }
    .passout-icon {
      background: #28a745;
      color: white;
    }
    .text-block h3 {
      margin: 0;
      font-size: 20px;
    }
    .text-block p {
      margin: 5px 0 0;
      font-size: 14px;
      color: #555;
    }

    .features-section {
      background: #edf7f3;
      padding: 40px 20px;
      text-align: center;
    }
    .features-wrapper {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
    }
    .feature {
      display: flex;
      align-items: center;
      gap: 15px;
      max-width: 250px;
    }
    .feature-icon {
      background: #f0c52c;
      border-radius: 50%;
      width: 90px;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      transition: transform 0.6s ease;
    }
    .feature-icon:hover {
      transform: rotateY(180deg);
    }
    .feature-text {
      text-align: left;
    }
    .feature-text strong {
      font-size: 16px;
      display: block;
    }

    @media (max-width: 768px) {
      .stats-section {
        flex-direction: column;
        padding: 20px;
      }
      .stats-box {
        margin-top: 20px;
      }
      .rating, .passout {
        flex-direction: row;
        align-items: flex-start;
      }
      .features-wrapper {
        flex-direction: column;
        align-items: center;
      }
    }
    /** Rating End **/



    /** Chose Us Start  **/
       

    .why-choose-section {
        text-align: center;
        padding: 50px 20px;
        background: #fdf6ec;
    }

    .why-choose-section h2 {
        font-size: 32px;
        margin-bottom: 10px;
        color: #d17d00;
    }

    .why-choose-section p.subtitle {
        color: #777;
        margin-bottom: 40px;
        font-size: 16px;
    }

    .why-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1100px;
        margin: auto;
    }

    .why-card {
        background: #fff;
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .why-icon {
        font-size: 40px;
        color: #ffa026;
        margin-bottom: 15px;
    }

    .why-card h4 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #333;
    }

    .why-card p {
        font-size: 15px;
        color: #555;
        line-height: 1.5;
    }

    @media (max-width: 600px) {
        .why-choose-section h2 {
            font-size: 26px;
        }
        .why-card {
            padding: 20px 15px;
        }
    }
    
    /** Chose Us End  **/
    



/*** testimonial Start ***/
.testimonial-item {
    background: var(--bs-light);
    padding: 40px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--bs-primary);
    color: var(--bs-dark);
    font-size: 22px;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    margin-top: 6rem;
    background: var(--bs-dark);
}

.footer .footer-item p {
    font-size: 16px;
    line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer button {
    border: 0;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
    background: var(--bs-primary);
    color: var(--bs-dark) !important;
    border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
    transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/


/**Cursor overlay inserted once per page  Start**/
 /* The container that sits above the page content */
    .cursor-overlay {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      pointer-events: none; /* allow clicks through the overlay */
      z-index: 9999;
      mix-blend-mode: normal;
    }

    /* Outer smooth circle (trail) */
    .cursor-circle {
      position: absolute;
      width: 48px;               /* change size as needed */
      height: 48px;
      border-radius: 50%;
      transform: translate3d(-50%, -50%, 0);
      background: rgba(0,0,0,0.06);
      border: 2px solid rgba(0,0,0,0.12);
      transition: width .25s ease, height .25s ease, opacity .25s ease;
      will-change: transform, width, height, opacity;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(0px);
    }

    /* Inner dot */
    .cursor-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #111;
      transform: translate3d(0,0,0);
      will-change: transform;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    /* When inactive (no recent movement), hide smoothly */
    .cursor-overlay.inactive .cursor-circle {
      opacity: 0;
      transform: translate3d(-50%, -50%, 0) scale(.6);
    }

    /* Example: reduce size when clicking (feedback) */
    .cursor-overlay.pressed .cursor-circle {
      transform: translate3d(-50%, -50%, 0) scale(.8);
      width: 36px;
      height: 36px;
    }

    /* Optional: if you want circle to be subtle on dark backgrounds, adjust here */
    @media (hover: none) {
      /* On touch devices, keep it smaller so it doesn't obscure content */
      .cursor-circle { width: 32px; height: 32px; }
      .cursor-dot { width: 6px; height: 6px; }
    }

/** Cursor overlay inserted once per page  End **/
 

 /* WhatsApp Sticky Button  Start */
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: #25D366;
      color: white;
      font-size: 16px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border-radius: 50px;
      text-decoration: none;
      box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
      transition: transform 0.2s, background-color 0.3s;
      z-index: 1000;
    }

    .whatsapp-btn:hover {
      background-color: #119c44;
      transform: scale(1.05);
      color: #010b0f;
    }

    .whatsapp-btn img {
      width: 24px;
      height: 24px;
    }

    /* Mobile view → only icon */
    @media (max-width: 768px) {
      .whatsapp-btn span {
        display: none;
      }
      .whatsapp-btn {
        padding: 12px;
        border-radius: 50%;
      }
    }

 /* WhatsApp Sticky Button End*/

  /* Section-scoped styles: class prefix hh- to avoid collisions */
    .hh-about-section { padding: 48px 16px; background: #fff; color: #213; font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
    .hh-container { max-width: 1080px; margin: 0 auto; }

    .hh-title-wrap { text-align: center; margin-bottom: 28px; }
    .hh-title { font-size: 34px; margin: 0 0 6px; color: #b78802; font-weight: 700; }
    .hh-title span { color: #213; }
    .hh-sub { margin: 0; color: #6b6b6b; font-size: 15px; }

    .hh-columns { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-top: 18px; }
    .hh-col { background: transparent; }

    .hh-col-left p { line-height: 1.7; color: #222; margin-bottom: 14px; font-size: 15px; }
    .hh-col-left strong { color: #0d6efd; }

    .hh-highlights { list-style: none; padding: 10px 18px; border-left: 4px solid #b78802; background: #fbfbfb; border-radius: 8px; }
    .hh-highlights li { margin: 12px 0; font-size: 15px; color: #222; }
    .hh-highlights strong { color: #0d6efd; }

    .hh-quote { margin-top: 18px; padding: 14px 16px; background: rgba(183,136,2,0.06); border-radius: 8px; }
    .hh-quote-text { margin: 0 0 8px; font-size: 14px; color: #4a4a4a; }
    .hh-quote-author { color: #b78802; font-weight: 600; font-size: 13px; }

    .hh-cta { margin: 0; font-size: 15px; color: #213; margin-top: 10px; }

    /* Responsive */
    @media (max-width: 900px) {
      .hh-columns { grid-template-columns: 1fr; }
      .hh-title { font-size: 28px; }
      .hh-col-right { order: 2; }
    }





/* Header Logo Start */ 
/* Basic reset */
.navbar-brand {
  display: inline-block;
}

/* Logo image responsive */
.logo {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Default (Desktop/Laptop) */
.logo {
  width: auto; 
  height: 120px;/* Laptop aur desktop ke liye default size */
}

/* Tablet screens */
@media (max-width: 992px) {
  .logo {
    width: 200px;
    height: auto;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  .logo {
    height: auto;
    width: 150px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .logo {
    width: 120px;
    height: auto;
  }
}

/* Header Logo End */

