
/*** 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 ***/

.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;
}
.text-primary {
    color: #4e4c43 !important;
}
/*** 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-hover-bg {
    transition: 0.5s;
}
.btn-primary {
    color: #000;
    background-color: #4e4c43;
    border-color: #EAE7DD;
}
.btn-hover-bg:hover {
    background: #EAE7DD !important;
    color: #4e4c43 !important;
}
.btn-primary:hover {
    color: #000;
    background-color: #EAE7DD;
    border-color: #4e4c43;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: var(--bs-secondary) !important;
}
 .new-cause:hover{
    color: #4E4C43 !important;
  }

  .btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #000;
    background-color: #4e4c43;
    border-color: #EAE7DD;
    box-shadow: 0 0 0 .25rem rgba(48, 35, 18, 0.5);
}
/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: #4e4c43 !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/* .bg-light {
    background-color: #EAE7DD !important;
} */
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    padding: 9;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #4e4c43;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: #4E4C43;
    color: #EAE7DD;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #EAE7DD !important;
    transition: .5s;
    opacity: 1;
}
.new-logo {
    width: 182px;
    height: 30px;
}
@media screen and (max-width: 768px) {
    .new-logo {
        width: 150px;
        height: auto;
    }
    
}
.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #4e4c43;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.nav-link:hover, .nav-link:focus {
    color: #4e4c43;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #4e4c43;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-header #carouselId .carousel-control-prev,
.carousel-header #carouselId .carousel-control-next {
    background: transparent;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh 
}

.carousel-header #carouselId .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 5s ease-in-out infinite;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent !important;
}

.carousel-header #carouselId.carousel {
    position: relative;
}

.carousel-header #carouselId.carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li {
    margin-right: 30px !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 12px !important;
    border: 5px solid transparent;
    transition: 0.5s;
    
}

.carousel-header #carouselId.carousel .carousel-indicators li.active {
    border: 5px solid #4e4c43 !important;
    border-radius: 10px;
}
 @keyframes zoomEffect {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }

/*** Carousel End ***/



/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/subheader.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 0 0;
    padding-top: 140px;
    padding-bottom: 30px;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .tab-class .nav .nav-item a.active,
.about .tab-class .nav .nav-item a.active span {
    background: #2a2927 !important;
    color: var(--bs-white) !important;
}

/*** About End ***/


/*** Service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-link {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    bottom: 0; 
    left: 0; 
    display: flex; 
    align-items: end;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.5s; 
}

.service .service-item .service-link:hover {
    background: rgba(0, 0, 0, 0.6);
}

.service .service-item .service-link a {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item img {
    transition: 0.5s;
}

.service .service-item:hover img {
    transform: scale(1.2);
}

.service .service-item .service-link:hover a:hover {
    color: var(--bs-primary);
}
/*** Service End ***/


/*** Donation Start ***/
.donation .donation-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.donation .donation-item::after {
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}


.donation .donation-item .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: -60px; 
    left: 0;
    transition: 0.5s;
    z-index: 3;
}

.donation .donation-item:hover .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: 0px; 
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.donation .donation-item .donation-btn {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.donation .donation-item:hover .donation-btn {
    visibility: visible;
    opacity: 1;
}

/*** Donation End ***/


/*** Counter Start ***/

/*** Counter End ***/


/*** causes Start ***/
.causes .causes-item {
    overflow: hidden;
}

.causes .causes-item .causes-img {
    position: relative;
    transition: 0.5s;
}

.causes .causes-item .causes-img .causes-link {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0 !important; 
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: rgba(0, 0, 0, .2);
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover .causes-link {
    background: rgba(0, 0, 0, .6);
}

.causes .causes-item .causes-img img {
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover img {
    transform: scalex(-1);
}

.causes .causes-item .causes-img .causes-dination {
    position: absolute;
    top: 0; 
    right: 0;
}

.causes .causes-item .causes-img .causes-dination a {
    font-size: 14px;
}

.causes .causes-item .causes-content {
    background: #EAE7DD;
    /* border-color: var(--bs-white); */
    border-style: dotted;
    border-top: 0;

}

.causes .causes-item .progress {
    height: 10px;
    overflow: visible;
}

.causes .causes-item .progress .progress-bar {
    position: relative;
    width: 0;
    overflow: visible;
    background: #4e4c43;
    transition: 2s;
}

.causes .causes-item .progress .progress-bar span {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-size: 12px;
    color: var(--bs-white);
    background: var(--bs-dark);
    z-index: 1;
}
.causes .causes-item {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.causes .causes-img {
  position: relative;
}

.causes .causes-img img {
  height: 200px;
  object-fit: cover;
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.causes .progress.no-gap {
  margin: 0;
  height: 8px;
  border-radius: 0;
  background: #eee;
}

.causes .progress-bar {
  background-color: #0d6efd;
  position: relative;
}

.causes .progress-bar span {
  position: absolute;
  right: -30px;
  top: -22px;
  background: #212529;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}

.causes .causes-content {
  padding: 16px;
  flex-grow: 1;
}

.causes .causes-content h4 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.causes .causes-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.causes .btn-sm {
  padding: 10px 33px;
  font-size: 13px;
}
/*** causes End ***/













/*** Contact Start ***/
.contact {
    background: rgba(249, 195, 123, .4);
    border-style: dotted;
    border-color: var(--bs-white);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    border-top: 3px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-style: dotted;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-color: var(--bs-light);
}
.footer .footer-item a,
.footer .footer-item p {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
}

.footer .footer-item .footer-gallery {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-gallery img {
    transition: 0.5s;
}

.footer .footer-item .footer-gallery:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-gallery .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-gallery:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);

}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/


/* Start table data  */
.table-data {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.table-data th {
    background-color: #f5f5f5 ;
    color: black;
    text-align: left;
    padding: 12px 15px;
    font-weight: bold;
    border: 1px solid #ddd;
}

.table-data td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
    color: #000;
}

.unique {
    background-color: #f2f2f2;
    font-weight: bold;
}

.unique-2 {
    /* font-style: italic; */
}

.table-data tr:hover {
    background-color: #f1f1f1;
}

.product-description{
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../img/fastners-back.jpg);
    color: white;
}
/* end table data  */
.header-4{
    margin-top: 25px;
    /* color:  #e5941d; */
     font-size: 1.5rem;
    
 }
 .adjust{
    line-height: 27px;
    letter-spacing: 1px;
}
.image-wrapper {
    display: inline-block;
    border: 3px solid #2a2927;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
}
.red-border {
    border: 4px solid  #4e4c43;
    border-radius: 40px;
    padding: 4px;
    box-shadow: 0 6px 15px rgba(6, 163, 218, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.red-border:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(6, 163, 218, 0.3);
}


@media (max-width: 768px) {
    .content-section {
        padding: 10px;
    }
    .image-wrapper{
        margin-top: 1px;
    }
}

/* for image bottom of the products  */
/* Basic styles */
/* Basic styles */
.image-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
}

.image-item {
    text-align: center;
    flex: 1 1 30%; /* Ensure the items take up 30% width (adjustable for 3 items) */
    position: relative;
    padding: 0; /* Ensure no padding inside image item */
    margin: 0; /* Ensure no margin around image items */
}

.image-wrapper {
    position: relative; /* This is required for positioning the overlay */
    overflow: hidden; /* Ensure no part of the overlay goes outside the image */
    border: none; /* Remove any border around the image wrapper */
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 0; /* Remove any border-radius or rounded corners */
    display: block; /* Ensures the image is displayed without any extra space below it */
    margin: 0; /* Remove margin around the image */
    padding: 0; /* Remove padding around the image */
    transition: transform 0.3s ease; /* Smooth zoom-in effect on hover */
}

/* Light black gradient shade covering the full image */
.image-wrapper::after {
    content: ''; /* Adds a pseudo-element overlay */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effect for the light black gradient overlay */
.image-item:hover .image-wrapper::after {
    opacity: 1; /* Show the overlay on hover */
}

.image-item:hover img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.image-item h3 {
    margin-top: 10px;
    font-size: 18px;
    color: #333; /* Customize text color */
}

/* Responsive styles */
@media (max-width: 768px) {
    .image-item {
        flex: 1 1 45%; /* 2 items per row on medium screens (tablets) */
    }

    .image-item h3 {
        font-size: 16px; /* Slightly smaller heading on medium screens */
    }
}

@media (max-width: 480px) {
    .image-item {
        flex: 1 1 100%; /* 1 item per row on smaller screens (mobile) */
    }

    .image-item h3 {
        font-size: 14px; /* Smaller heading on mobile */
    }
}
 /* responsive table  */

 
  /* Make the table responsive */
  .custom-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th, .custom-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
.custom-table th {
    background-color: #f2f2f2;
}
/* Add responsiveness: wrap text for smaller screens */
@media screen and (max-width: 600px) {
    .custom-table, .custom-table thead, .custom-table tbody, .custom-table th, .custom-table td, .custom-table tr {
        display: block;
        width: 100%;
    }
    .custom-table th {
        background-color: #f2f2f2;
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .custom-table tr {
        margin-bottom: 10px;
    }
    .custom-table td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    .custom-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
    }
}

/* table response  */

/* Add responsiveness to the table */
@media screen and (max-width: 768px) {
    .ideal {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    table {
        width: 100%;
        border: 0;
    }
    th, td {
        text-align: center;
        padding: 10px;
    }
    th {
        background-color: #f9f9f9;
    }
}

/* Small mobile screens (portrait view) */
@media screen and (max-width: 480px) {
    th, td {
        padding: 6px;
        font-size: 12px;
    }
}

/* End Table date  */


/* side bars buttons  */
   /* Styling for the sidebar section */
.sidebar {
  background-color: #f5f5f5; /* Light gray background for a clean look */
  padding: 15px;
  border-radius: 6px;
}

/* Styling for the custom buttons */
.custom-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #EAE7DD; /* Dark gray-blue for a professional tone */
  color: #2d3748; /* White text */
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px; /* Subtle rounded corners */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
  border: none;
  text-align: left;
}

/* Hover effect for buttons */
.custom-btn:hover {
  background-color: #2d3748; /* Slightly darker shade on hover */
  transform: translateX(3px); /* Subtle shift for link-animated effect */
}

/* Active state for buttons */
.custom-btn:active, .custom-btn.active {
  background-color: #1a202c; 
  transform: translateX(0);
  color: #c69350;
}

/* Styling for the chevron icon */
.custom-btn i {
  font-size: 13px;
  margin-right: 30px;
}

/* Ensure consistent spacing for list items */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 8px; /* Matches mb-3 class */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}
/* side bar buttons end */