/*** 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 ***/


/*** 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;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #4f185a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* desktop font/icon size */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tablet screens */
@media (max-width: 992px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
        font-size: 16px;
    }
}

/* Mobile screens */
@media (max-width: 576px) {
    .back-to-top {
        width: 35px;
        height: 35px;
        right: 15px;
        bottom: 15px;
        font-size: 14px;
    }
}

/* Hover effect */
.back-to-top:hover {
    background-color: #ff9500;
    transform: translateY(-2px);
}


/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    flex: 1; /* responsive center space */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#note small {
    display: inline-block;
    position: relative;
    animation: marquee 10s linear infinite; /* smooth scrolling */
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: black !important;
    font-size: 15px !important;
    outline: none;
    
}


.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

/* Dropdown main menu */
.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform-origin: top;
    transform: rotateX(-90deg);
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1000;
    min-width: 150px;   /* dropdown width */
    border-radius: 8px; /* smooth rounded */
}

/* Show dropdown on hover */
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1
}
.navbar {
    margin-top: 0 !important;
}
.navbar-brand h2 {
    margin-bottom: 0;   /* h2 ke niche default space remove */
    margin: 0;
    padding: 0;
}

.navbar-brand small {
    display: block;
    font-size: 1rem;  /* chhota text */
    margin-left: 150px;
    line-height: 1;
    margin-top: 0px;
}



/* Submenu (inner dropdown) */
/* Submenu (inner dropdown) */
.dropdown-item {
    position: relative;
}

.dropdown-item .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: #ffffff;
    border-radius: 8px;
    display: none;
    z-index: 1100;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15); /* 🔥 proper shadow */
    padding: 8px 0; /* 🔥 top-bottom padding so text center lage */
}

/* Show submenu on hover */
.dropdown-item:hover .submenu {
    display: block;
}

/* Submenu links */
.submenu a {
    display: block;
    padding: 10px 20px;   /* 🔥 left-right padding fix */
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px; /* hover me smooth bg */
}

/* Submenu hover effect */
.submenu a:hover {
    background: #4caf50;
    color:#4caf50;;              /* white text */
    box-shadow: 0px 3px 10px rgba(0,0,0,0.2); /* 🔥 hover shadow */
    transform: translateX(3px); /* thoda slide effect */
}

.donate-btn a{
    font-size: 20px;
}

/*** Navbar End ***/


/*** Carousel Start ***/

/* For the first slide caption position */
.top-left-caption {
  top: 3%;
  left: 3%;
  right: auto;
  bottom: auto;
  text-align: left;
  position: absolute;
  transform: none;
  font-size: 20px;

}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  z-index: 2; /* To ensure text appears above overlay */
}


@media (max-width: 768px) {
  .top-left-caption {
    top: 10%;
    left: 5%;
    font-size: 14px;
  }
}

.slide2-heading {
    font-size: 50px;
    text-shadow: #000 2px 2px 3px;
}
.slide2-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;           /* line length */
  height: 3px;           /* line thickness */
  background-color: #f7f7f7; /* line color */
  border-radius: 2px;
}

@media (max-width: 768px) {
  .slide2-heading::after {
    width: 200px; /* adjust as needed */
  }
}

.team-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-gallery img {
    max-width: 100%;
    width: 300px; /* adjust as needed */
    height: auto; /* maintain aspect ratio */
    object-fit: contain; /* image cut nahi hogi */
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-gallery img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team-gallery img {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .team-gallery img {
        width: 90%;
    }
}
.image-1{
    height: 300px !important;
}
.image-2{
    height: 300px !important;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Child-Support.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/





/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;

    /* NEW ADD */
    display: flex;
    flex-direction: column;
}

.services-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* White hamburger icon */
.navbar-toggler {
  border: none !important; /* remove default border */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Navbar links */
.navbar-nav .nav-link {
  font-size: 16px;
  color: #fff !important;   /* Default white color */
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #2bbad6 !important;  /* Hover blue */
}

.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    /*background: rgba(45, 161, 41, 0.8);*/
    background:#00923ab4;
    transition: .5s;
    z-index: 0; /* overlay piche hi rahe */
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
}

.services-item .services-content-icon {
    z-index: 2;
    position: relative;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}
.services-item .btn {
    position: relative;
    z-index: 2;  /* overlay ke upar rahegi */
}



/*** Project 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: -999;
   
    transition: .5s;
}

.project-image::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -5%;
    left: -3%;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-image::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: -2%;
    bottom: 12%;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -999;
   
    transition: .5s;
}
/* Large screens */
@media (max-width: 1200px) {
    .project-image::after {
        right: -1%;
        bottom: 28%;
        height: 120px;
        width: 120px;
    }
    .project-image::before {
        top: -15px;
        left: -1%;
        height: 120px;
        width: 120px;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .project-image::after {
        right: -1%;
        bottom: -8%;
        height: 130px;
        width: 130px
    }
    .project-image::before {
        top: -7%;
        left: -1%;
        height: 130px;
        width: 130px;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .project-images::after {
        right: -5%;
        bottom: 15%;
        width: 120px;
        height: 120px;
    }
    .project-images::before {
        top: -10px;
        left: 10px;
        width: 120px;
        height: 120px;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .project-image::after {
        right: -1%;
        bottom: -6%;
        width: 120px;
        height: 120px;
    }
    .project-image::before {
        top: -8%;
        left: -1%;
        width: 130px;
        height: 130px;
    }
}

.project-imges::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -20px;
    left: -20px;
    background:var(--bs-secondary) ;
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-imges::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: -3%;
    bottom: 27%;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -999;
   
    transition: .5s;
}

/* Large screens */
@media (max-width: 1200px) {
    .project-imges::after {
        right: -3%;
        bottom: 38%;
        height: 130px;
        width: 130px;
    }
    .project-imges::before {
        top: -15px;
        left: -2%;
        height: 130px;
        width: 130px;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .project-imges::after {
        right: -2%;
        bottom: -6%;
        height: 170px;
        width: 170px
    }
    .project-imges::before {
        top: -5%;
        left: -2%;
        height: 170px;
        width: 170px;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .project-imges::after {
        right: -3%;
        bottom: -6%;
        width: 140px;
        height: 140px;
    }
    .project-imges::before {
        top: -5%;
        left: -3%;
        width: 140px;
        height: 140px;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .project-imges::after {
        right: -3%;
        bottom: -6%;
        width: 120px;
        height: 120px;
    }
    .project-imges::before {
        top: -5%;
        left: -3%;
        width: 120px;
        height: 120px;
    }
}
.project-images {
    position: relative; /* important for pseudo-elements */
}

/* Decorative box - left top (::before) */
.project-images::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -20px;
    left: 30px;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: all 0.5s ease;
}

/* Decorative box - right bottom (::after) */
.project-images::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: -4%;
    bottom: 19%;
    background: #ff7800;
    border-radius: 10px;
    opacity: 1;
    z-index: -999;
    transition: all 0.5s ease;
}

/* Large screens */
@media (max-width: 1200px) {
    .project-images::after {
        right: -5%;
        bottom: 17%;
        height: 110px;
        width: 110px;
    }
    .project-images::before {
        top: -15px;
        left: 6%;
        height: 110px;
        width: 110px;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .project-images::after {
        right: -2%;
        bottom: 18%;
        height: 170px;
        width: 170px
    }
    .project-images::before {
        top: -3%;
        left: 10%;
        height: 170px;
        width: 170px;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .project-images::after {
        right: -4%;
        bottom: 18%;
        width: 140px;
        height: 140px;
    }
    .project-images::before {
        top: -3%;
        left: 9%;
        width: 140px;
        height: 140px;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .project-images::after {
        right: -3%;
        bottom: 16%;
        width: 120px;
        height: 120px;
    }
    .project-images::before {
        top: -4%;
        left: 8%;
        width: 120px;
        height: 120px;
    }
}



.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;
}
.project-img::after {
    background: #fa8219!important;
  /* color: #fa8219!important; */
 }
/*** Project End ***/

/*** Blog Start ***/
.blog-item .blog-btn {
  z-index: 2;
}

.blog-btn .blog-btn-icon {
  height: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Share text */
.blog-icon-1 {
  position: relative;
  top: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Hidden social icons */
.blog-btn-icon .blog-icon-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: absolute;
  top: 50%;
  left: -150px; /* hidden initially */
  transform: translateY(-50%);
  transition: all 0.5s ease;
}

/* On hover: slide icons in */
.blog-btn-icon:hover .blog-icon-2 {
  left: 10px;
}

/* On hover: slide Share text out */
.blog-btn-icon:hover .blog-icon-1 {
  transform: translateX(140px);
}

/* Icon button style */
.blog-icon-2 a {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.3s ease;
}

/* Hover effect on icons */
.blog-icon-2 a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* ✅ Tablet View Fix */
@media (max-width: 992px) {
  .blog-btn .blog-btn-icon {
    height: 45px;
  }

  .blog-btn-icon:hover .blog-icon-1 {
    transform: translateX(120px);
  }

  .blog-btn-icon:hover .blog-icon-2 {
    left: 8px;
  }
}

/* ✅ Mobile View Fix */
@media (max-width: 576px) {
  .blog-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .blog-btn .blog-btn-icon {
    width: 100%;
    justify-content: center;
  }

  .blog-btn-icon .blog-icon-2 {
    left: -140px;
  }

  .blog-btn-icon:hover .blog-icon-1 {
    transform: translateX(110px);
  }

  .blog-btn-icon:hover .blog-icon-2 {
    left: 6px;
  }
}



/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;
    height: 300px;
   border-radius: 10px;
   

}
.testimonial-carousel .owl-item {
  padding: 0 10px; /* har side thoda gap */
}
.testimonial-item {
  margin-bottom: 15px; /* vertically bhi thoda space */
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
   
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
/* .contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
} */

.contact-map {
    background: #4f1959;
}

.contact-form {
    background:#4f1959;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}
/* Footer heading */
.footer .navbar-brand h1 {
    margin: 0;
    padding: 0;
    line-height: 1.1; /* thoda close rakha */
}

/* Footer small text */
.footer .navbar-brand small {
    display: block;
    font-size: 1.3rem;   /* chhota text */
    line-height: 1;    /* heading ke bilkul niche */
    margin-top: 0;     /* upar ka gap remove */
    margin-left: 171px;    /* left margin navbar ke jaise na ho */
}


/*** Footer End ***/

 .dropdown-menu,
    .submenu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: white;
        border-radius: 0.25rem;
        min-width: 200px;
        z-index: 1000;
    }

    .nav-item:hover > .dropdown-menu,
    .dropdown-item:hover > .submenu {
        display: block;
    }

    .dropdown-menu a,
    .submenu a {
        display: block;
        padding: 8px 16px;
        text-decoration: none;
        color: black;
        white-space: nowrap;
    }

    .dropdown-menu a:hover,
    .submenu a:hover {
        background-color: #f0f0f0;
    }

    .dropdown-item {
        position: relative;
    }

    .submenu {
        left: 100%;
        top: 0;
    }

    /* Responsive: stack menus on small screens */
    @media (max-width: 768px) {
        .dropdown-menu,
        .submenu {
            position: static;
            min-width: 100%;
        }
    }



/*story section*/
.stories-section {
  padding: 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.stories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.story-card {
  background: #fff;
  border-radius: 10px;
  width: 270px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.story-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 5px;
}

.story-card p {
  font-size: 14px;
  padding: 0 15px;
  color: #555;
  flex-grow: 1;
}

.story-card button {
  margin: 15px;
  padding: 10px 15px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.story-card button:hover {
  background: #000;
  color: #fff;
}
.donate-btn-container {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    height: 100%;            /* navbar height ke hisab se */
}

.donate-btn-container .btn {
    border-radius: 50px;        /* round shape */
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 20px;          /* top-bottom 4px, left-right 20px */
    font-size: 0.8rem;          /* thoda chhota font */
    line-height: 1;              /* height tightly fit kare */
}


@keyframes zoomPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .donate-btn {
    font-size: 14px;
    padding: 10px 16px;
    bottom: 45px;
    left: 8px;
  }
}

@media (max-width: 480px) {
  .donate-btn {
    font-size: 12px;
    padding: 8px 14px;
    bottom: 35px;
    left: 5px;
  }
}


/* DONATE BUTTON INSIDE NAVBAR */
/* Default: align to right for desktop */
.donate-btn-container {
  margin-left: auto;
}

/* On mobile (< 992px): align left like nav items */
@media (max-width: 991.98px) {
  .donate-btn-container {
    margin: 10px 0 0 0;
    width: 100%;
  }

  .donate-btn-container a {
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    right: 100px;
  }

  .donate-btn-container button {
    width: 100%;
    text-align: left;
    border-radius: 0;
  }
}

@media (max-width: 767.98px) {
    .topbar {
        gap: 10px;
    }
    .top-info small {
        margin-bottom: 5px;
    }
}
@media (max-width: 365.98px) {
  .donate-btn-container a {
    display: block;
        
}
  }
/* Base style - hide submenus */
.submenu {
    display: none;
    padding-left: 1rem;
    flex-direction: column;
}

/* Desktop hover behavior */
@media (min-width: 768px) {
    .dropdown-item:hover .submenu {
        display: flex;
    }
}

/* Mobile click-to-toggle (optional JS needed) */
@media (max-width: 767px) {
    .dropdown-toggle::after {
        content: ' ▼';
    }

    .submenu.active {
        display: flex;
    }
}
.image-fluid{
    height: 80px;
}

/* Logo container */
.logo-container {
    flex-shrink: 0;
    position: absolute; /* flow me hi rahe */
    z-index: 10;        /* topbar/navbar ke upar rahe */
    margin-right: 30px;
}

/* Logo image */
.logo-img {
    height: 220px;       /* bada logo */
    width: auto;
    display: block;
    position: relative;
    top: 0px;          /* upar shift karke overlap */
    /* margin-left: -110px; */
    object-fit: cover;
}

/* Topbar */
.topbar {
    flex-wrap: nowrap;
    align-items: center;
    z-index: 1;          /* logo ke neeche rahe */
}

/* Navbar */
.navbar-nav {
    flex-wrap: nowrap;
    margin-left: auto;
    gap: 15px;
}
@media (max-width: 993px) {
    .logo-img {
    height: 220px;       /* bada logo */
    width: auto;
    display: block;
    position: relative;
    top: 0px;          /* upar shift karke overlap */
    /* margin-left: -100px; */
    object-fit: cover;
}

}
.navbar-nav .nav-link {
    font-size: 13px !important; /* thoda chhota font */
    font-weight: 600px !important; /* thoda bold */
}
.navbar-nav {
  gap: 0.3rem !important; /* previously gap-3 = 1rem+ */
}
/* Responsive */
@media (max-width: 992px) {
    .logo-img {
        top: 0;          /* mobile me normal position */
        height: 120px;   /* chota logo */
    }
}

.social-icons-left {
    position: fixed; /* left side fixed rahe */
    top: 50%; /* vertical center */
    left: 0; /* left side */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px; /* icon ke beech me gap */
    z-index: 9999;
}

.social-icons-left .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    margin-left: 20px;
}

/* Original brand colors */
.social-icons-left .instagram { background: #E1306C; color: #fff; }
.social-icons-left .youtube   { background: #FF0000; color: #fff; }
.social-icons-left .facebook  { background: #1877F2; color: #fff; }

/* Hover effect: sirf scale */
.social-icons-left .social-icon:hover {
    transform: scale(1.2);
    opacity: 0.9; /* optional subtle effect */
}

/* Responsive: mobile me hide karna */
@media (max-width: 768px) {
    .social-icons-left {
        display: none;
    }
}

/* .footer-logo-container {
} */
.footer-logo-container {
    text-align: center;
    position: relative;
}

/* Logo upar push karna, footer ke bahar bhi */
.footer-logo {
    height: 300px;
    width: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    margin-top: -50px; /* logo ko upar push */
    z-index: 1; /* logo background ke upar */
    object-fit: cover;
}

/* Paragraph initially logo ke upar, margin se adjust karenge */
.footer-logo-container p {
    position: relative; /* z-index kaam kare */
    z-index: 2;          /* logo ke upar text dikhe */
    margin-bottom: 10px; /* neeche adjust kar sakte ho */
    color: #fff;
    
}
/* 📱 Responsive Settings */
@media (max-width: 992px) {
   
    .footer-logo-container p {
       
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        height: 180px;
       
    }
    .footer-logo-container p {
        
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        height: 120px;
        object-fit: contain;
       
    }
    .footer-logo-container p {
        
        font-size: 13px;
    }
}

/* Social icons bhi logo ke upar initially */
.footer-logo-container .hightech-link {
    position: relative;
    z-index: 2;  
    margin-top: 5px; /* neeche push karne ke liye adjust karo */
    
}
.info-section {
    background: #f0f7ff;
    padding: 60px 20px;
}

.old-age-banner{
    position: relative;
    top:-90px;
    object-fit: contain;
}

.card-box {
      background: #ffffff;
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
      transition: all 0.3s ease-in-out;
      text-align: center;
      height: 100%;
    }

    .card-box:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .card-box i {
      font-size: 2.5rem;
      color: #007bff;
      margin-bottom: 15px;
    }


    body {
      font-family: 'Segoe UI', sans-serif;
    }
    
    .hero h1 {
      font-size: 3.2rem;
      font-weight: bold;
    }
    
    .features i {
      font-size: 40px;
      margin-bottom: 15px;
      color: #007bff;
    }
    .impact-number {
      font-size: 2.2rem;
      font-weight: bold;
      color: #28a745;
    }
    .section-title {
      text-align: center;
      font-weight: 600;
      margin-bottom: 40px;
    }
    .highlight-box {
      background-color: #f8f9fa;
      border-left: 4px solid #007bff;
      padding: 20px;
      margin-top: 20px;
    }
    footer {
      background-color: #222;
      color: white;
      padding: 30px 0;
    }
    .hero {
      background-color: #285dc3;
      color: white;
      padding: 100px 0;
      text-align: center;
    }
    .section-title {
      text-align: center;
      font-weight: 600;
      margin-bottom: 40px;
    }
    .program-icon {
      font-size: 40px;
      margin-bottom: 15px;
      color: #c2185b;
    }
    .impact-number {
      font-size: 2.5rem;
      font-weight: bold;
      color: #e91e63;
    }
    
   /* Header base */
.header {
    position: relative;
}

/* Logo */
.logo-container {
    flex-shrink: 0;        /* prevent shrinking in flex */
}


/* Topbar */
.topbar {
    gap: 15px;
}

/* Navbar button tweaks */
.navbar-toggler {
    border: none;
}


@media(max-width:480px){
  .topbar{
    display: none !important;
  }
  .logo-container img {
        height: 167px;      /* adjust for mobile */
        margin-left: -40px !important;
        top: 2px!important;
    }
}

@media(min-width:481px) and (max-width:768px){
  .topbar{
    display: none !important;
  }
  .logo-container img {
        height: 167px;      /* adjust for mobile */
        margin-left: -20px !important;
        top: 3px!important;
    }
}

@media(min-width:769px) and (max-width:992px){
  .logo-container img {
        height: 179px;      /* adjust for tablet */
        margin-left: -10px !important;
        top: 1px!important;
    }
}

@media(min-width:993px) and (max-width:1200px){
  .logo-container img {
        height: 179px;      /* adjust for tablet */
        margin-left: -10px !important;
        top: 1px!important;
    }
}



/* Responsive tweaks */

/* ===== Desktop styles (default) ===== */
.topbar {
    font-size: 0.85rem;
}

.navbar-nav .nav-item {
    margin-left: 1rem;
}

.btn-warning {
    white-space: nowrap;
}

/* ===== Mobile styles ===== */
@media (max-width: 991.98px) {
    /* Topbar hide on mobile */
    .topbar {
        display: none !important;
    }

    /* Navbar center alignment */
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.2rem;
    }

    .navbar-nav .nav-item {
        margin-left: 0;
    }

    .ms-3 {
        margin: 1rem 0 0 0 !important;
        text-align: center;
    }

    .btn-warning {
        width: 100%;
    }
}
/* ===== Mobile fix under 600px ===== */
@media (max-width: 600px) {

    /* Logo ko left se cut hone se bachao */
    .logo-container {
        margin-left: 35px; /* ya container padding ke hisab se adjust karo */
    }

    /* Navbar collapse me padding fix */
    .navbar-collapse {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Donate button full width + margin top */
    .ms-3 {
        margin: 1rem 15px 0 15px !important;
    }

    /* Navbar items vertical and gap */
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar-nav .nav-item {
        margin-left: 0;
        text-align: left; /* ya center bhi kar sakte ho */
    }
}


/* Offcanvas width */
.offcanvas-end {
    width: 250px; /* adjust as needed */
}

/* Make dropdowns inside offcanvas scrollable */
.offcanvas-body .dropdown-menu {
    position: static;
    float: none;
}
html, body {
    width: 100%;
    overflow-x: hidden !important;
}

/* Offcanvas ke liye links visible karo */
.offcanvas-body {
    background-color: #fff; /* Light background */
    padding-top: 2rem;
}

.offcanvas-body .nav-link {
    color: #000 !important; /* Black text */
    font-weight: 500;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover effect: color + underline slide + slight move */
.offcanvas-body .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #ff9800 !important;
    transition: width 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    color: #ff5722 !important; /* Attractive hover color */
    transform: translateX(5px);
}

.offcanvas-body .nav-link:hover::after {
    width: 100%;
}

/* Donate button styling */
.offcanvas-body .btn {
    font-weight: 600;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offcanvas-body .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Hamburger icon color */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='orange' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}



.support-section h2 {
    color: #005e8c;
    font-size: 2rem;
}

.support-section p {
    font-size: 1rem;
    color: #6c757d;
}

.support-section .card {
    border-radius: 15px;
    background-color: #ffffff;
}

.support-section .form-control, 
.support-section .form-select {
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
}

.support-section .btn-primary {
    border-radius: 50px;
    background-color: #005e8c;
    border: none;
    transition: 0.3s;
}

.support-section .btn-primary:hover {
    background-color: #ff6b6b;
}

@media (max-width: 768px) {
    .support-section .card {
        padding: 20px;
    }
}
.card img {
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

/* === GENERAL === */
.logo-img {
  height: 150px;
  width: auto;
  transition: all 0.3s ease;
}

.topbar {
  font-size: 0.85rem;
}

/* === DESKTOP VIEW (>= 1201px) === */
@media (min-width: 1201px) {
  .container-fluid {
    padding: 10px 0;
  }

  .logo-container {
    flex: 0 0 auto;
  }

  .logo-img {
    height: 200px;
  }

  .navbar {
    background: transparent !important;
  }

  .navbar-nav .nav-link {
    color: #000 !important;
    font-weight: 500;
    transition: color 0.3s;
  }

  .navbar-nav .nav-link:hover {
    color: #ffb100 !important;
  }

  /* Topbar visible only on desktop */
  .topbar {
    display: flex !important;
  }

  /* Hide offcanvas & toggler */
  .navbar-toggler,
  .offcanvas {
    display: none !important;
  }
}

/* === TABLET & MOBILE (< 1200px) === */
@media (max-width: 1200px) {
  /* Hide topbar */
  /* .topbar {
    display: none !important;
  } */

  /* Adjust logo */
  /* .logo-img {
    height: 179px;
    margin-top: 8px;
  } */

  /* Navbar tweaks */
  .navbar {
    width: 100%;
    padding-top: 0 !important;
    z-index: 9999;
  }

  /* Show hamburger */
  .navbar-toggler {
    display: block !important;
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* Hide normal collapse menu */
  .navbar-collapse {
    display: none !important;
  }

  /* Enable offcanvas */
  .offcanvas {
    display: block !important;
    background-color: #fff;
  }

  .offcanvas .nav-link {
    font-size: 1rem;
    padding: 8px 0;
    color: #333;
  }

  .offcanvas .nav-link:hover {
    color: #ffb100;
  }

  .offcanvas .btn-warning {
    width: 100%;
  }
}

/* === SMALL FIXES === */
.navbar-toggler-icon {
  filter: invert(0.5);
}

.btn-warning {
  background-color: #ffb100 !important;
  border: none;
}

.btn-warning:hover {
  background-color: #ffca2c !important;
}
/*  */


.floating-social {
    position: fixed;
    top: 50%;
    left: 10px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    transform: translateY(-50%); /* perfectly center vertically */
}

.floating-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 5px 0;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 20px;
}

.floating-social a.whatsapp { background-color: #25D366; }
.floating-social a.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.floating-social a.phone { background: #007bff; }

.floating-social a:hover {
    transform: scale(1.1);
}

/* Tablet screens */
@media (max-width: 992px) {
    .floating-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 4px 0;
    }
    .floating-social {
        left: 8px;
    }
}

/* Mobile screens */
@media (max-width: 576px) {
  .floating-social {
    position: fixed;
    bottom: 10px; /* screen ke bilkul niche */
    left: 10px;   /* left side pe thoda space */
    top: auto;    /* top reset kar dena zaruri hai */
    transform: none; /* agar pehle center ke liye transform use hua tha to hata de */
    z-index: 9999; /* ensure visible rahe */
  }

  .floating-social a {
    width: 35px;
    height: 35px;
    font-size: 14px;
    margin: 3px 0;
  }
}


.text-muted {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #6c757d;
}
/* FAQ Section */
#faq-section {
  padding: 80px 20px;
  background: #f9f9f9; /* light background */
  font-family: 'Roboto', sans-serif;
}

.faq-wrapper {
  max-width: 900px;
  margin: auto;
}

.faq-wrapper h2 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 50px;
  color: #111;
}

/* FAQ Items */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Question */
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  font-size: 1.15rem;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #4CAF50; /* accent on hover */
}

/* Answer */
.faq-answer {
  max-height: 0;
  padding: 0 25px;
  font-size: 1rem;
  color: #555;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 750px!important; /* large enough to fit content */
  padding: 15px 25px 25px 25px;
}

/* Icon */
.faq-icon {
  background: #4CAF50;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;        /* inline-flex prevents flexbox width stretching */
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;              /* prevent text from expanding vertically */
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;              /* avoid squishing on narrow screens */
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #388E3C; /* darker green on active */
}

/* Optional tweak for ultra-small screens */
@media (max-width: 400px) {
  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  #faq-section {
    padding: 60px 15px;
  }
}
/* Base styling for all icons */
.footer .btn-square i {
  transition: all 0.3s ease;
  font-size: 18px;
}

/* Facebook – Blue */
.footer .btn-square .fa-facebook-f {
  color: #1877F2; /* Facebook blue */
}

/* Instagram – Gradient (approximation) */
.footer .btn-square .fa-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* YouTube – Red */
.footer .btn-square .fa-youtube {
  color: #FF0000 !important; /* YouTube red */
}

/* Hover effect for all icons */
.footer .btn-square:hover i {
  transform: scale(1.2);
  opacity: 0.9;
}
/* Base style */
.top-link i {
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Facebook – Official Blue */
.top-link .fa-facebook-f {
  color: #1877F2; /* Facebook Blue */
}

/* Instagram – Gradient look */
.top-link .fa-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* LinkedIn – Official Blue */
.top-link .fa-linkedin-in {
  color: #0A66C2; /* LinkedIn Blue */
}

/* Hover effect for all icons */
.top-link a:hover i {
  transform: scale(1.2);
  opacity: 0.9;
}

@media (max-width: 600px) {
 .logo-img{
    margin-left: -60px!important;
 }
}
.sub-heading{
     font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #222;
}
.top-link .fa-youtube {
  color: #FF0000 !important; /* YouTube Red */
}
.fixed-donate-btn {
  position: fixed;
  bottom: 110px;   
  right: 10px;    
  z-index: 9999;  
  background-color: #ff7800;
  color: #000;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 16px; 
  display: inline-block;
  animation: heartbeat 1.5s infinite ease-in-out;
}

/* Hover effect */
.fixed-donate-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* Heartbeat animation */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.1);
  }
}


/* Tablet screens */
@media (max-width: 992px) {
  .fixed-donate-btn {
    padding: 10px 18px;
    font-size: 14px;
    bottom: 90px;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  .fixed-donate-btn {
    padding: 8px 16px;
    font-size: 12px;
    bottom: 70px;
  }
}


.sub-heading{
    font-family: 'playfair display';
    color: #47185a00;
    font-size: 26px;
}
p{
    color: #272727;
}
.text{
    font-weight: 700;
    font-size: 18px;
}
.hero-section .row {
  height: 450px;  /* Your desired fixed height */
}

.hero-section .col-md-6 {
  height: 100%; /* Force columns to inherit full height */
}

.project-images {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* allows stacking on small screens */
}

/* First image */

.img-fluid {
    width: 100%;      /* image container ke width ke hisaab se fit ho jaaye */
    height: auto;     /* aspect ratio maintain rahe */
    max-height: 300px; /* desktop ke liye max height */
    object-fit: cover; /* agar crop chahiye to cover use karo */
}

/* Medium screens */
@media (max-width: 992px) {
    .img-fluid {
        /* max-height: 200px; chhoti screen pe height kam karo */
    }
}

/* Small screens */
@media (max-width: 576px) {
    .img-fluid {
        /* max-height: 150px; mobile pe aur kam */
    }
}

/* Responsive adjustments */
  /* @media (max-width: 992px) {
    .hero-section img {
      max-height: 400px;
    }
  }

  @media (max-width: 576px) {
    .hero-section img {
      max-height: 250px;
    }
  }

  .image{
    width: 100%;
    height: 300px;
  }
  @media (max-width: 992px){
    .image{
      height: 250px;
    }
  }
  @media (max-width: 576px){
    .image{
      height: 200px;
    }
  } */
  .image {
  width: 100%;        /* full width of parent */
  height: auto;       /* maintain aspect ratio */
  max-height: 300px;  /* optional: limit max height */
  object-fit: cover;  /* fill container without distortion */
  display: block;     /* remove inline space below image */
}
/* Tablet */
/* @media (max-width: 992px) {
  .image {
    min-height: 300px;
  }
} */

/* Mobile */
@media (max-width: 768px) {
  .image {
    /* max-height: 200px; */
    min-height: 250px;
  }
}

/* Small mobile */
/* @media (max-width: 576px) {
  .image { */
    /* max-height: 150px; */
    /* min-height: 200px;
  }
} */
/* @media (max-width: 768px) {
  .carousel-item img{
    width: 100%;
    min-height: 350px;
    object-fit: cover;
  };
  .carousel-item{
    width: 1300px!important;
  }
} */






/* .carousel start */
    /* Custom CSS for responsiveness and styling */
    
@media (max-width:727px){
  .slide2-heading{
    font-size: 25px;

  }
}

@media(min-width:481px) and (max-width:547px){
  .slide2-heading{
    font-size: 20px;
    top: 20px;
  }
}

@media(min-width:200px) and (max-width:480px){
  .slide2-heading{
    font-size: 15px;
    top: 40px;
  }
  .button-slide2{
    font-size: 12px;
    padding: 5px 10px;
  }
}

@media (min-width: 300px) and (max-width: 380px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 30px!important; /* smaller width */
    height: 30px  !important; /* smaller height */
    top: auto; /* reset top */
    bottom: 250px !important; /* place slightly above bottom */
    transform: translateY(0)  !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 25px!important;
    height: 25px !important;
  }
}

@media (min-width: 381px) and (max-width: 776px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 30px!important; /* smaller width */
    height: 30px!; /* smaller height */
    top: auto; /* reset top */
    bottom: 270px !important; /* place slightly above bottom */
    transform: translateY(0);
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 35px;
    height: 35px;
  }
}





/* .carousel end */

/* .counter start  */
    /* Custom styles for counter section */
    .counter-section {
      background-color: #4f185a;
      padding: 30px 0;
    }

    .counter-container {
      max-width: 1200px;
      margin: 0 auto;
  }



    /* fact start  */
    /* Custom styles for counter section */
    .counter-section {
      background-color: #4f185a;
      padding: 30px 0;
    }

    .counter-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .counter-box {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background-color: rgba(255, 255, 255, 0.1); /* Slight transparency */
      border-radius: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 90px;
    }

    .counter-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .counter-value {
      font-size: 3rem;
      font-weight: bold;
      color: #ff7800; /* Bootstrap primary color */
      margin-right: 15px;
    }

    .counter-text {
      font-size: 1.1rem;
      color: #ffffff;
      font-weight: 500;
      line-height: 1.4;
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
      .counter-box {
        flex-direction: column;
        text-align: center;
      }

      .counter-value {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2.5rem;
      }

      .counter-text {
        font-size: 1rem;
      }
    }

@media (max-width: 576px) {
  .counter-section {
    padding: 5px 0;
    
  }

  .counter-container {
    padding: 0 5px;
  }

  .counter-box {
    padding: 2px 0;             /* box ke andar space kam */
    margin-bottom: -10px;         /* box ke beech minimal gap */
    border-radius: 6px;
    height: 36px;
    
  }

  .counter-value {
    font-size: 0.8rem;
    margin-bottom: 2px;
    line-height: 1;
  }

  .counter-text {
    font-size: 0.6rem;
    line-height: 1;
  }
}


    /* fact end  */
.equal-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Decorative Boxes */
.box-images {
  position: relative;
  z-index: 1;
}

.box-images::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 100px;
  top: -18px;
  left: -15px;
  background: var(--bs-secondary);
  border-radius: 10px;
  opacity: 0.9;
  z-index: -1;
}

.box-images::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 100px;
  right: -3%;
  bottom: -6%;
  background: #ff7800;
  border-radius: 10px;
  opacity: 0.9;
  z-index: -1;
}

/* Responsive fix */
@media (max-width: 768px) {
  .col-md-6 {
    display: block;
  }

  .box-images::before,
  .box-images::after {
    width: 120px;
    height: 120px;
    /* opacity: 0.6; */
  }

  .box-images::before {
    top: -16px;
    left: -16px;
  }

  .box-images::after {
    right: -4%;
    bottom: -9%;
  }
}
.icon-box {
  width: 60px;
  height: 60px;
  transition: 0.3s ease;
}

.icon-box:hover {
  transform: scale(1.1);
  background-color: #0d6efd; /* hover pe thoda blue */
}

.contact-card {
  min-height: 180px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background-color: #f1f1f1;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    text-align: center;
    min-height: auto;
  }
  .icon-box {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .headings {
    font-size: 28px!important;
  }
  .titles{
    font-size: 13px!important;
  }
}
@media (min-width: 577px) {
  .headings {
    font-size: 35px!important;
  }
  .titles{
    font-size: 16px!important;
  }
}

@media (min-width: 776px) {
  .headings {
    font-size: 50px!important;
  }
  .titles{
    font-size: 16px!important;
  }
}


/* ========== BLOG BUTTON SECTION ========== */
.blog-item .blog-btn {
  z-index: 2;
}

/* Main button container */
.blog-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  padding: 10px 15px;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -50px;
}

/* Read More / Like / Share button text */
.blog-icon a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

/* Button Icon Wrapper */
.blog-btn-icon {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

/* Share text (FIXED vertical alignment) */
.blog-icon-1 {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  transform:translatex(5%);;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 100%;
}

/* Hidden social icons */
.blog-btn-icon .blog-icon-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: absolute;
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
padding-left: 12px;
  transition: all 0.5s ease;
}

/* Hover effect */
.blog-btn-icon:hover .blog-icon-2 {
  left: 10px;
}
.blog-btn-icon:hover .blog-icon-1 {
  transform: translate(140px, -50%);
}

/* Icon buttons */
.blog-icon-2 a {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.3s ease;
}
.blog-icon-2 a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* ========== TABLET VIEW ========== */
@media (max-width: 992px) {
  .blog-btn {
    flex-direction: row;
    justify-content: center;
    margin-top: -40px;
  }
  .blog-icon,
  .blog-btn-icon {
    flex: 1 1 auto;
    text-align: center;
  }

  .blog-btn-icon {
    height: 45px;
  }
  .blog-btn-icon:hover .blog-icon-1 {
    transform: translate(120px, -50%);
  }
  .blog-btn-icon:hover .blog-icon-2 {
    left: 8px;
  }
}

/* ========== MOBILE VIEW ========== */
@media (max-width: 576px) {
  .blog-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -60px !important;
  }

  .blog-icon,
  .blog-btn-icon {
    width: 100%;
    text-align: center;
  }

  .blog-btn-icon {
    height: 45px;
  }

  .blog-btn-icon .blog-icon-2 {
    left: -140px;
  }
  .blog-btn-icon:hover .blog-icon-1 {
    transform: translate(110px, -50%);
  }
  .blog-btn-icon:hover .blog-icon-2 {
    left: 6px;
  }
}




@media (max-width: 576px) {
 
  .carousel-item img{
    
    height: 178px;
    object-fit: cover;
  }
  
}



@media (max-width:996px){
  .navbar-container{
    height: 80px;
  }
  .navbar-toggler-icon{
    margin-top: 10px;
    width: 2rem;   /* default ~1.5rem hota hai, isse thoda bada */
    height: 2rem;
  }
}

.rangrez-text {
  background: linear-gradient(90deg, #552fff, #24dd5c, #24c6dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 800;
}

.contact-mini-title {
  font-size: 20px;
  font-weight: 600;
}

.contact-card{
  background-color: rgba(0, 128, 0, 0.63)!important;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #fff !important;
  border: 2px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* individual icon colors */
.icon-box i.fa-map-marker-alt {
  color: #E74C3C!important ; /* Google Map red */
}

.icon-box i.fa-phone {
  color: #2ECC71!important; /* Green / Call */
}

.icon-box i.fa-envelope {
  color: #F39C12!important; /* Gmail orange/yellow */
}
