/* Reset some common browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito Sans", serif;
}
html {
    scroll-behavior: smooth;
}
/* Prevent section titles from being hidden under fixed navbar */
section, div                {
    scroll-margin-top: 100px; /* adjust to your navbar height */
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: var(--blue) !important;
}
.btn-success:hover {
    color: var(--white) !important;
}
.dropdown-item {
     --bs-dropdown-link-active-bg:none;
}
ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
:root {
/*    --blue: #0b72ba;*/
    --orange: #f59821;
    --blue: #f59821;
    --white: #ffffff;
    --black: #000000;
}
.text-primary{
    color:var(--blue) !important;
}
.bg-blac {
    background-color: #1e1e1e;
    color: var(--white);
}
.bg-blue {
  background-color: #1a73a7;
  color: var(--white);
}
.bg-orange {
    background-color:var(--blue);
    color: var(--white);
}
.bg-yellow {
  background-color: #e4a610;
  color: var(--white);
}
.bg-green {
  background-color: #108c3e;
  color: var(--white);
}
.bg-red {
  background-color: #c01729;
  color: var(--white);
}
.bg_light {
  background-color: #f8f8f8;
}
.text-red{
    color:red;
}
.form-label {
    margin-bottom: 0rem;
}
/* Layout styles */
    .container-box {
  width: 1150px !important;
  margin: 0 auto;
}
section {
  width: 100%;
  height: auto;
}
.ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Button styling */
button,
.donate-btn {
  padding: 0.5rem 1.5rem;
  background-color: var(--blue);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.text-justify{
  text-align: justify !important;
}
button:hover,
.donate-btn:hover {
  color: var(--blue);
  background-color: transparent;
  border: 1px solid var(--blue) !important;
}
.sec-desc{
  color: var(--black);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
}
.text-danger {
    font-size: 14px;
}
/* Form styles */
input,
textarea,
select {
    padding: 0.5rem;
    margin-bottom: 0rem;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
  background-color: #28a745;
  border: none;
  color: white;
}

input[type="submit"]:hover {
  background-color: #218838;
}
.gtranslate_wrapper select{
  margin: 8px 0;
  padding: 0px;
  background-color: var(--black);
  color: var(--white);
}
/* Navbar styling */
.top-nav {
  background-color: var(--blue);
  color: var(--white);
  padding: 0.2rem 0;
}
.navbar {
  z-index: 999;
  background-color: var(--white);
}
.nav-link {
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
}
.donate-btn {
  margin-left: 20px;
  border: var(--blue) 1px solid;
  border-radius: 50px;
  color: var(--white);
  background-color: var(--blue);
}
.logo {
  height: 50px;
}
/* Hero Section styling */
.hero {
  margin: 0 auto;
  gap: 10px;
  flex-direction: column;
  align-items: start;
  height: 80vh;
  display: flex;
  justify-content: center;
}
.hero-btn {
  display: flex;
  gap: 20px;
}
.hero-btn :first-child {
  border-radius: 6px;
  background-color: var(--blue);
  color: var(--white);
  padding: 10px;
}
.hero-btn :first-child:hover {
  background-color: var(--blue);
  color: var(--white) !important;
}
.hero-btn :last-child {
  border-radius: 6px;
  border: var(--white) 1px solid;
  color: var(--white);
  padding: 10px;
}
.hero-btn :last-child:hover {
  background-color: var(--white);
  color: var(--blue) !important;
  border: var(--white) 1px solid;
}

/* Programs Section styling */
.programs {
  padding: 0px 20px 40px 20px;
  gap:20px;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.card-body {
  border: 1px solid var(--white);
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 30px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-text {
  text-align: center;
}
.svg-icon {
  fill: white;
  transition: fill 0.3s ease;
}
.custom-card:hover .card-body {
  background-color: white;
  color: black;
  border: 1px solid var(--orange);
}

.custom-card:hover .svg-icon {
  fill: var(--orange);
}

.custom-card:hover .card-text {
  color: black;
}

.section-title {
  padding-top: 40px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
}
.line {
  width: 50px;
  height: 3px;
  background-color: var(--blue);
  margin: 0 10px;
}
.sec-icon {
  color: var(--blue);
  font-size: 24px;
}

/* About Section styling */
.info-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* Background Colors */
.green-card {
    background-color: #28a745;
}

.orange-card {
    background-color: #fd7e14;
}

.yellow-card {
    background-color: #ffc107;
}

.teal-card {
    background-color: #20c997;
}
.about {
  padding: 30px 20px 40px 20px;
  gap: 20px;
  display: flex;
  justify-content: center;
}
.custom-card {
  background-color: #333;
  border: none;
}
.highlight {
  color: var(--blue);
  font-weight: bold;
}
.btn-custom {
  background-color: var(--blue);
  border: none;
  color: #fff;
}
.btn-custom:hover {
  background-color: var(--blue);
}
.btn-outline-custom {
  border: 1px solid var(--blue) !important;
  color: #fff;
  background-color: var(--blue);
}
.whywe{
  position: relative;
  display: flex;
  height: fit-content;
  padding: 20px 0;
}
.ww-cont{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 60%;
}
.w-content{
  bottom: 50px;
  position: absolute;
  height: 250px;
  width: 66%;
  background-color: var(--blue);
}
.ww-img{
  border: 1px solid var(--blue);
  padding: 15px;
  height: 100%;
  width: 40%;
}
.ww-img img{
  border: 2px solid var(--blue);
  height: 100%;
  width: 100%;
  /* object-fit: cover; */
}
/* Mission & Vision Section Styling
  */
.mission-vision {
  padding: 20px 20px 40px 20px;
  gap: 20px;
  display: flex;
  justify-content: center;
}
.mission {
  height: 250px;
  width: 100%;
  gap: 20px;
  display: flex;
}
.mission-content {
  width: 65%;
}
.mission-img {
  position: relative;
  width: 35%;
  img {
    object-fit: cover;
    top: -50px;
    display: flex;
    position: absolute;
    height: 350px;
    right: 0;
  }
}

/* Stat Section Styling  */
.stat {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-overlay {
  background-color: rgba(0, 0, 0, 0.9);
}

.stat-1 {
  color: #fff;
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 200px;
}

.stat-1 h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 10px;
}

.stat-1 p {
  margin: 0;
  font-size: 1rem;
}

.divider {
  width: 2px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* Initiatives Section  */
.initiative-card {
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.initiative-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.initiative-card:hover img {
  transform: scale(1.1);
}

.initiative-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
}

.initiative-overlay i {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--white);
}

.initiative-overlay h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 21px;
  color: var(--blue);
}

.initiative-overlay p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.initiative-overlay p {
  display: -webkit-box;        
  -webkit-line-clamp: 3;        
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.initiative-overlay .learn-more {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.initiative-overlay .learn-more:hover {
  color: #ff9800;
}

/* Gallery Section Styling  */
.gallery {
  padding: 0px 20px 40px 0px;
  display: flex;
  justify-content: center;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: var(--orange);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 10px;
}

.gallery-item:hover .overlay {
  display: block;
  opacity: 1;
}

/* Lightbox (modal) styles */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox-modal img {
  max-width: 80%;
  max-height: 80%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}
/* Previous and Next buttons */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1000;
}

.prev-btn {
  left: 10px;  
}

.next-btn {
  right: 10px;  
}

.prev-btn:hover,
.next-btn:hover {
  opacity: 0.7;
}

/* Donation Section Styling  */
.donation-section {
  background-image: url(../image/mission-bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  border-radius: 6px;
  background-color: #f8f9fa;
  padding: 40px 40px;
  text-align: start;
}

.donation-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2d3e50;
}

.donation-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #6c757d;
}

.donation-section .donation-button {
  background-color: var(--blue);
  color: white;
  padding: 8px 15px;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--blue);
}

.donation-section .donation-button:hover {
  border: 1px solid var(--blue);
  background-color: var(--white);
}
/* Testimonial Section Styling */
.testimonial {
  padding: 00px 10px 40px 10px;
  display: flex;
  justify-content: center;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial-card {
  background: white;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.testimonial-card:hover {
  transform: scale(1.05);
}

.testimonial-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.testimonial-content {
  padding: 20px;
  text-align: center;
}

.testimonial-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.testimonial-content p {
  color: #777;
  font-size: 14px;
  margin: 10px 0;
}

.testimonial-quote {
  font-style: italic;
  color: #555;
}

.star-rating {
  margin-top: 10px;
}

.star-rating span {
  color: #ffd700;
  font-size: 18px;
}

/* Footer Section Styling  */
.footer {
  color: var(--white);
  padding: 40px 0 10px 0;
  text-align: start;
}
.footer a {
  color: var(--white);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: none;
}
.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-icons a {
  border: 1px solid var(--white);
  height: 45px;
  display: flex;
  align-items: center;
  width: 45px;
  font-size: 18px;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}
.q-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Breadcrumb Section Styling */
.breadcrumb {
  color: var(--white);
  padding: 10px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
/* About Us Page  */

/* Team Section  */
.team {
  padding: 0px 0px 20px 0px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.team-img {
  width: 40%;
  height: 300px;
  border-radius: 8px;
}
.team-cont {
  display: flex;
  flex-direction: column;
  width: 60%;
  align-items: start;
  height: 300px;
  border-radius: 8px;
}
.team-img img {
  object-fit: cover;
  height: 100%;
}
.team-cont > h2 > span {
  font-size: 18px;
}
.team-social-media {
  display: flex;
  height: auto;
  gap: 10px;
}
.team-social-media a {
  color: var(--blue);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  transition: 0.3s;
}
.team-social-media a:hover {
  background-color: var(--blue);
  color: var(--white) !important;
  transform: scale(1.2);
  transition: 0.3s;
}
.team-members {
  padding-top: 20px !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  display: flex;
  height: auto;
  padding-bottom: 30px !important;
}
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--blue);
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Timeline Section Styles */
.timeline-section {
  position: relative;
  background: url('../image/Trust-Images/g (6).jpg') no-repeat center center/cover;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); 
  z-index: 1;
}

.timeline-section .container-box {
  position: relative;
  z-index: 2;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 15px;
  height: 15px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}
/* Contact Page  */
.address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--blue);
  color: var(--white);
}
.flex-column {
  gap: 5px;
  display: flex;
  flex-direction: column;
}
.address > p > a:hover {
  color: var(--white) !important;
  transform: scaleZ(1.3);
}
/* Volunteer Page  */
.volunteers {
  padding-top: 2%;
  padding-bottom: 40px;
  text-align: center;
}
.volunteer {
  margin-top: 20px;
  text-align: center;
  padding: 20px;
}
.volunteer img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.volunteer-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.volunteer-icons a {
  color: var(--blue);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  transition: 0.3s;
}

.volunteer-icons a:hover {
  background-color: var(--blue);
  color: var(--white) !important;
  transform: scale(1.2);
  transition: 0.3s;
}
.volunteer-cont{
  gap: 20px;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vc-img{
  height: 300px;
  width: 50%; 
}
.vc-img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.vc-cont{
  text-align: center;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
}
.v-form-img img{
  height: 465px;
  width: 100%;
  object-fit: cover;
}
.v-btn{
  background-color: var(--blue);
  color: var(--white);
}
/* Event Page  */
.event {
  padding: 40px 0;
}
.event-box {
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-img {
  display: flex;
  height: 100%;
  width: 30%;
  justify-content: center;
}
.event-img img {
  height: 300px;
  width: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--blue);
}
.event-cont {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  height: 100%;
  width: 70%;
}

/* Donation Page */
  .donation-form-card {
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
  }
  .donation-form-card input,
  .donation-form-card select,
  .donation-form-card textarea {
    border-radius: 5px;
    border: 1px solid #ced4da;
  }

