
/*** 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;
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

.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 {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    min-height: 80px; /* ensures balanced height */
}

/* Navbar brand (logo + text) */
.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo sizing fix */
.navbar .navbar-brand img.navbar-logo {
    max-height: 40px;      /* strict control */
    width: auto;
    object-fit: contain;
    display: block;
}

/* Navbar links */
.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

/* Active & hover states */
.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);
}

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

/* Desktop dropdown animation */
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

/* Dropdown hover */
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

/* Dropdown item hover */
.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .navbar {
        min-height: 70px;
    }

    .navbar .navbar-brand img.navbar-logo {
        max-height: 34px;
    }

    .navbar .navbar-brand h1 {
        font-size: 22px;
        line-height: 1.2;
    }
}

/* Subtle professional hover effect on logo */
.navbar .navbar-brand:hover img.navbar-logo {
    transform: scale(1.05);
    transition: 0.3s ease;
}



#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05)), url(../img/HOME.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/about_back.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/about_back.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(255, 72, 128, 0.05), rgba(255, 72, 128, 0.2));
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/* ================================
   PROGRAMS SECTION – FULL STYLING
   ================================ */

.programs-section {
    background: #fde6ee; /* unified light pink background */
    padding: 80px 20px;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Headings */
.programs-section h4 {
    color: #e83e8c;
    font-weight: 600;
    margin-bottom: 15px;
}

.programs-section h1 {
    font-size: 44px;
    font-weight: 800;
    color: #222;
    margin-bottom: 60px;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Responsive */
@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .programs-section h1 {
        font-size: 34px;
    }
}

/* ================================
   PROGRAM CARDS – EQUAL HEIGHT
   ================================ */

/* Make column stretch */
#programs .row > div {
    display: flex;
}

/* Make card fill column height */
#programs .program-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
#programs .program-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

/* Fix image height */
#programs .program-img img {
    height: 220px;
    object-fit: cover;
}

/* Allow text section to grow evenly */
#programs .program-text {
    flex-grow: 1;
    display: flex;
}

#programs .program-text-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Keep teacher/focus section consistent */
#programs .program-teacher {
    min-height: 90px;
}

/* Keep bottom stats bar aligned */
#programs .program-item > .d-flex.bg-primary {
    margin-top: auto;
}

/* Smooth rounding */
#programs .img-border-radius {
    border-radius: 22px 22px 0 0;
    overflow: hidden;
}



/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 1)), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}


/* Masonry Gallery */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Overlay */
.gallery-item img {
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 105, 180, 0.85),
        rgba(0, 0, 0, 0.2)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

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




.contact-section {
  background: linear-gradient(135deg, #fde2e7, #ffeef2);
  padding: 90px 20px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
}

.contact-card {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card h2 {
  font-size: 26px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
}

.contact-card h2 i {
  color: #f08aa2;
}

.card-intro {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #555;
}

.contact-list i {
  background: #fde2e7;
  color: #f08aa2;
  padding: 10px;
  border-radius: 50%;
  font-size: 14px;
}

/* Social icons */
.social-icons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: #fde2e7;
  color: #f08aa2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #f08aa2;
  color: #fff;
}

/* Form styling */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #f08aa2;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.textarea-group i {
  top: 20px;
  transform: none;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #f08aa2;
}

/* Button */
button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f08aa2, #e57790);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

button:hover {
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}


/* Donation Section Background */
.donation-bg {
    position: relative;
    background-image: url("https://images.unsplash.com/photo-1509099836639-18ba1795216d");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for readability */
.donation-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Content stays above overlay */
.donation-bg .container {
    position: relative;
    z-index: 2;
}

/* Donation cards */
.donation-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}


.impact-section {
  background: linear-gradient(135deg, #ffe9ef, #fff5f8);
}

.section-subtitle {
  color: #f08aa2;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-desc {
  max-width: 650px;
  margin: auto;
  color: #666;
}

.impact-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 24px;
  text-align: center;
  height: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-10px);
}

.impact-card i {
  font-size: 48px;
  color: #f08aa2;
  margin-bottom: 20px;
}

.impact-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.impact-card p {
  font-size: 15px;
  color: #555;
}



/*** Footer End ***/