/* Existing CSS */
.banner__padding {
  padding: 100px 0;
  background-blend-mode: overlay;
}

.justify-content-end {
  justify-content: flex-end !important;
}

@media (max-width: 768px) {
  .header-area .right ul {
    display: flex;
    flex-wrap: wrap;
  }
  .header-area .right li {
    margin-right: 10px;
    font-size: 12px;
  }
  .header-area .left li {
    margin-right: 10px;
  }
}

.header {
  padding-left: 10px;
  height: 85px;
}

/* New CSS (Merged) */
/* Dark background for the header area */
.header-area {
  background-color: #333; /* Dark background */
  padding: 15px 0; /* Add padding to top and bottom */
  margin-bottom: 20px; /* Add margin below the header */
  color: #fff; /* White text color */
}

/* Add padding and space between items */
.header-area .left ul,
.header-area .right ul {
  padding: 0;
  margin: 0;
}

/* Space between list items */
.header-area .left li,
.header-area .right li {
  margin-right: 15px;
  display: inline-block;
  font-size: 14px; /* Adjust the font size */
  color: black;
}

/* Ensure links inside the header are styled correctly */
.header-area .left a,
.header-area .right a {
  color: black; /* White text color for links */
  text-decoration: none; /* Remove underline */
}

/* Styling for Social Media Icons */
.header-area .right li i {
  color: #fff; /* White color for the icons */
  font-size: 18px; /* Icon size */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.header-area .right li a:hover i {
  color: #f39c12; /* Change color on hover */
}

/* Styling for the span element next to icons */
.header-area .right span {
  font-size: 14px;
  margin-right: 10px;
}
/* Style icons */
.header-area .left li i,
.header-area .right li i {
  font-size: 20px; /* Set the icon size */
  color: #fff; /* Icon color */
  margin-right: 8px; /* Space between icon and text */
}

/* Hover effect */
.header-area .right li a:hover i {
  color: #f39c12; /* Icon color change on hover */
}

/* Background circle for social icons */
.header-area .right li a {
  /* display: inline-block; */
  padding: 10px;
  border-radius: 50%; /* Circular background */
  background-color: #444; /* Background color */
  transition: background-color 0.3s ease;
}

.header-area .right li a:hover {
  background-color: #f39c12; /* Background color change on hover */
}

.dropdown-menu {
  background-color: #444;
  border: none;
  padding: 10px;
  border-radius: 4px;
}

.dropdown-menu .nav-link {
  padding: 5px 10px;
}

.dropdown-menu .nav-link:hover {
  background-color: #f39c12;
  color: #fff;
}

.home-3 .default-btn {
  border-radius: 50px;
  margin-bottom: 13px;
  margin-top: 25px;
}

/* <!-- ================> Contact section start here <================== --> */

.header-area .left li i,
.header-area .right li i {
  font-size: 18px; /* Adjust icon size */
  color: #fff; /* Icon color */
  margin-right: 8px; /* Space between icon and text */
}

.header-area .right li a:hover i {
  color: #f39c12; /* Change color on hover */
}

.header-area .right li a {
  display: inline-block;
  padding: 10px;
  border-radius: 50%; /* Circular background */
  background-color: #444; /* Icon background color */
  transition: background-color 0.3s ease;
}

.header-area .right li a:hover {
  background-color: #f39c12; /* Background color change on hover */
}

/* <!-- ================> Counter section start here <================== --> */

@media (min-width: 768px) {
  .default-btn {
    padding: 0 2rem;
    line-height: 45px;
  }
}

.countdown .clock-item,
ul li {
  list-style: none;
  margin-bottom: 10px;
}

/* <!-- ================> Footer section start here <================== --> */

.footer-area {
  background-color: #001b2e;
  margin-top: 40px;
  padding-top: 40px;
}

.footer-area .copyright-area {
  margin-top: 25px;
  text-align: center;
  border-top: 1px solid #4f4b6b;
  padding-top: 25px;
  padding-bottom: 25px;
}

.footer-area .copyright-area p {
  margin-bottom: 0;
  color: #fff;
}

.footer-area .copyright-area p a {
  display: inline-block;
  color: #97bd3b;
  font-weight: 600;
}

.footer-area .copyright-area p a:hover {
  color: #fff;
}

.footer-item {
  margin-bottom: 30px;
}

.footer-item h3 {
  margin-bottom: 30px;
  color: #fff;
  font-size: 22px;
}

.footer-item .footer-logo .logo {
  display: block;
  margin-bottom: 20px;
}

.footer-item .footer-logo p {
  margin-bottom: 22px;
  color: #fff;
}

.footer-item .footer-logo ul li {
  list-style-type: none;
  display: inline-block;
  margin-right: 10px;
}

.footer-item .footer-logo ul li:last-child {
  margin-right: 0;
}

.footer-item .footer-logo ul li a {
  width: 30px;
  height: 30px;
  text-align: center;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 14px;
  display: inline-block;
}

.footer-item .footer-logo ul li a i {
  line-height: 30px;
}

.footer-item .footer-logo ul li a:hover {
  color: #97bd3b;
  background-color: #fff;
}

.footer-item .footer-causes .cause-inner {
  border-bottom: 1px solid #4f4b6b;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.footer-item .footer-causes .cause-inner:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-item .footer-causes .cause-inner ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.footer-item .footer-causes .cause-inner ul li {
  list-style-type: none;
  display: inline-block;
}

.footer-item .footer-causes .cause-inner ul li:nth-child(1) {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.footer-item .footer-causes .cause-inner ul li:nth-child(2) {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 65%;
  flex: 0 0 65%;
  max-width: 65%;
  margin-left: 15px;
}

.footer-item .footer-causes .cause-inner ul li img {
  border-radius: 5px;
}

.footer-item .footer-causes .cause-inner ul li h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.4;
}

.footer-item .footer-causes .cause-inner ul li h3 a {
  color: #fff;
}

.footer-item .footer-causes .cause-inner ul li h3 a:hover {
  color: #97bd3b;
}

.footer-item .footer-links ul li {
  list-style-type: none;
  display: block;
  border-bottom: 1px solid #4f4b6b;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.footer-item .footer-links ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-item .footer-links ul li a {
  display: block;
  color: #fff;
}

.footer-item .footer-links ul li a:hover {
  color: #97bd3b;
}

.footer-item .footer-links ul li a i {
  display: inline-block;
  font-size: 17px;
}

.footer-item .footer-contact .contact-inner {
  border-bottom: 1px solid #4f4b6b;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-item .footer-contact .contact-inner:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.footer-item .footer-contact .contact-inner ul li {
  list-style-type: none;
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

.footer-item .footer-contact .contact-inner ul li:last-child {
  margin-bottom: 0;
}

.footer-item .footer-contact .contact-inner ul li i {
  display: inline-block;
  color: #fff;
  font-size: 20px;
  position: absolute;
  top: 3px;
  left: 0;
}

.footer-item .footer-contact .contact-inner ul li a {
  display: inline-block;
  color: #fff;
}

.footer-item .footer-contact .contact-inner ul li a:hover {
  color: #97bd3b;
}

/* <!-- ================> Footer section end here <================== --> */

/* <!-- ================> form Promoter section start here <================== --> */

.form-container {
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}
.form-heading {
  margin-bottom: 20px;
  text-align: center;
}
.form-heading h3 {
  font-weight: bold;
}
.age-field {
  background-color: #e9ecef;
  pointer-events: none;
}
.btn-primary {
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-primary:hover {
  background-color: #286090;
  border-color: #204d74;
}

.event_img {
  max-width: 300px;
}

/* <!-- ======> Services Section  [index.html] Start Here <======== --> */

.dream-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.dream-item h3 {
  color: #333;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.dream-item p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.dream-item h4 a {
  color: #4caf50;
  font-weight: bold;
  text-decoration: none;
}
.dream-item .sub-span {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
  color: #666;
  font-weight: bold;
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 50%;
}

.sub-title {
  padding-top: 20px;
}
/* <!-- ======> Services Section  [index.html] Ends Here <======== --> */

/* <!-- ================> About Section Start Here <================== --> */
/* General Image Styles (for all images, except logos) */
img {
  max-width: 100%; /* Ensures image is responsive within its container */
  height: auto; /* Ensures aspect ratio is preserved */
  transition: all 0.3s ease; /* Smooth transition for resizing */
}

/* Specific styling for the logo to prevent global img styles from affecting it */
.navbar-brand img {
  max-width: 70px; /* Limit the logo size */
  height: auto; /* Preserve aspect ratio */
}

/* About Section Image Styling */
.about-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 35px;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures image covers the container without stretching */
  object-position: center; /* Keeps image centered */
}

/* Ensuring the About Section Layout is Responsive */
.about-area {
  padding-top: 30px;
  /* padding-bottom: 70px; */
  background-color: #b5bec1; /* Background color */
}

/* Navbar specific styles */
.header-area {
  background-color: #f8f9fa; /* Set a background color */
  padding: inherit;
  padding-top: 10px;
}

.navbar-toggler {
  border-color: #28a745; /* Color for the navbar toggle button */
}

.navbar-nav .nav-link {
  color: #333 !important; /* Set a default text color */
  font-size: 16px; /* Adjust the font size */
}

/* Ensure proper responsive behavior of navbar */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #f8f9fa; /* Make sure dropdown background matches */
  }

  .navbar-nav .nav-item {
    margin-bottom: 10px; /* Space between navigation items */
  }
}
/* <!-- ================> About Section Start Here <================== --> */

/* <!-- ================> Society Section Start Here <================== --> */
.custom-bg-primary {
  background-color: #23b187 !important; /* Custom primary background */
}

.custom-bg-success {
  background-color: #97bd3b !important; /* Custom success background */
}

.custom-bg-dark {
  background-color: #001b2e !important; /* Custom dark background */
}

/* General Feature Item Styling */
.custom-feature-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  text-align: center;
  border-radius: 30px;
  background-color: #23b187; /* Customize as needed */
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  margin-bottom: 20px;
}

.custom-feature-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

/* Icon Styling */
.custom-feature-item i {
  font-size: 50px;
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s;
}

/* Heading Styling */
.custom-feature-item h3 a {
  font-size: 22px;
  color: #ffffff; /* White text */
  text-decoration: none;
  transition: color 0.3s;
}

.custom-feature-item h3 a:hover {
  text-decoration: underline;
}

/* Ensure text inside cards is truncated if it overflows after 3-4 lines */
.custom-feature-item p {
  font-size: 16px;
  margin: 15px 0;
  line-height: 1.5;
  text-align: justify;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em; /* Limit the height to roughly 3-4 lines (adjust if needed) */
}

/* Button Styling */
.custom-feature-btn {
  display: inline-block;
  color: #ffffff; /* White text */
  padding: 10px 20px;
  border: 2px solid #ffffff;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
}

.custom-feature-btn:hover {
  background-color: #ffffff;
  color: #333333; /* Darker text */
  border-color: #ffffff;
  transform: translateY(-3px);
}
/* <!-- ================> Society Section Ends Here <================== --> */

/* <!-===================- Swaraj Rastriya Human Foundation =================== */
.work-area {
  background-color: #f4f4f4;
  padding-top: 40px;
}

/* Title Styling */
.work-content .section-title {
  margin-bottom: 30px;
  text-align: left;
}

.work-content .section-title .sub-title {
  color: #ff9900; /* Customize color as needed */
  font-size: 18px;
  font-weight: 500;
}

.work-content .section-title h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
}

/* List Styling */
.work-content ul {
  list-style-type: none;
  padding: 0;
}

.work-content ul li {
  margin-bottom: 20px;
}

.work-content ul li h3 {
  font-size: 20px;
  font-weight: bold;
  color: #23b187;
}

.work-content ul li p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Image Styling */
.work-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* <!-===================- Swaraj Rastriya Human Foundation =================== */

/* <!-- ================> Gallery Section Start Here <================== --> */
/* Gallery Item Styles */
.gallery__item {
  position: relative;
}

.gallery__thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease; /* Optional: Smooth transition for zooming effect */
  border-radius: 20px;
}

/* Remove shadow or background when hovering over the image */
.gallery__item:hover .gallery__thumb img {
  transform: scale(1); /* No zoom or shadow effect */
}

.gallery__content {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(0, 0, 0, 0); /* Remove background (no shadow) */
  padding: 10px;
}

.gallery__icon {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

.gallery__content h5 {
  color: #fff;
  margin-top: 10px;
}
/* <!-- ================> Gallery Section Ends Here <================== --> */
/* <!-- ================> 2nd Gallery Section Start Here <================== --> */
.custom-gallery__item {
  position: relative;
}

.custom-gallery__thumb img {
  width: 100%;
  height: auto; /* Ensure the image maintains its natural height */
  object-fit: cover;
}

.custom-gallery__details {
  padding: 10px;
  background-color: #fff;
  text-align: left; /* Aligning all text to the left */
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.custom-gallery__date-location {
  display: flex;
  justify-content: flex-start; /* Aligning date and location to the left */
  align-items: center;
  margin-bottom: 10px; /* Space between date-location and the next section */
}

.custom-gallery__date-location .custom-gallery__date {
  margin-right: 10px;
}

.custom-gallery__date,
.custom-gallery__location {
  font-size: 14px;
  margin: 5px 0;
}

.custom-gallery__date i,
.custom-gallery__location i {
  margin-right: 5px;
}

.custom-gallery__opening {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
  color: #f8b400; /* You can change this color */
}

.custom-gallery__opening_q {
  font-size: 14px;
  margin: 5px 0;
}

.custom-gallery__btn .btn {
  margin-top: 10px;
  background-color: #f8b400;
  color: #fff;
  border: none;
  padding: 8px 16px;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.custom-gallery__btn .btn:hover {
  background-color: #f09a00;
}
/* <!-- ================> 2nd Gallery Section Ends Here <================== --> */

/* <!-- ================> Hospital Section Start here <================== --> */
.table th,
.table td {
  padding: 12px 15px;
  text-align: left;
}
.table th {
  background-color: #f8f9fa;
  font-weight: bold;
}
.table td {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}
.table thead {
  background-color: #007bff;
  color: #fff;
}
.search-btn {
  background-color: #4caf50; /* Green background */
  color: white; /* Text color */
  border: none; /* Remove border */
  padding: 10px 20px; /* Add padding */
  font-size: 16px; /* Adjust font size */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.search-btn:hover {
  background-color: #45a049; /* Slightly darker green on hover */
  transform: translateY(-2px); /* Lift effect on hover */
}

.search-btn i {
  margin-right: 8px; /* Space between icon and text */
}

/* <!-- ================> Hospital Section End here <================== --> */

/* <!-- ================> Login Form section Start here <================== --> */
.form-container {
  width: 360px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.form-header {
  display: flex;
  background: #007bff;
  color: #fff;
  justify-content: space-around;
}

.form-header button {
  flex: 1;
  padding: 15px;
  border: none;
  cursor: pointer;
  background: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.form-header button.active {
  background: #0056b3;
}

.form {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.form input {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.form button {
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form button:hover {
  background: #0056b3;
}

.form p {
  text-align: center;
  font-size: 14px;
}

.form a {
  color: #007bff;
  text-decoration: none;
}

.hidden {
  display: none;
}
/* <!-- ================> Login Form section End here <================== --> */
