:root {
  --primary-color: #0C363C;
  --secondary-color: #AC7F3D;
  --success-color: hsl(120, 60%, 50%);
}

body {
  background-color: #f1f1f1;
}

p {
  color: #6B6B6B;
}

.h3 {
  font-size: 32px;
  font-weight: 700;
  color: #333333 !important;
}

.nav {
  --bs-nav-link-color: #666666;
  --bs-nav-link-hover-color: var(--bs-link-hover-color)#0a58ca;
}

.navbar-nav {
  gap: 12px;
}

.donate-now-btn {
  background-color: var(--secondary-color);
  border-radius: 8px;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-now-btn .nav-link {
  color: #ffffff !important;
}

.donate-now-btn:focus {
  color: #ffffff;
}

.left-zakat-div {
  background-color: #ffffff;
  padding: 40px;
  margin: 0px 30px;
  border-radius: 20px;
  max-width: 800px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.left-zakat-div h5 {
  font-weight: 400;
  font-style: italic;
  color: #333333;
}

.left-zakat-div h6 {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 16px;
}

.right-zakat-div img {
  width: auto;
  display: block;
  height: 300px;
}

.accordion-button:not(.collapsed) {
  color: #333333;
  background-color: #ffffff;
}

.accordion-button::after {
  display: none;
  /* Hide default arrow */
}

.plus-icon {
  font-weight: bold;
  font-size: 1.60rem;
  user-select: none;
  transition: transform 0.3s ease;
}

/* Rotate plus icon when accordion is expanded */
.accordion-button.collapsed .plus-icon {
  transform: rotate(0deg);
}

.accordion-button:not(.collapsed) .plus-icon {
  transform: rotate(45deg);
  /* Turn plus into an 'x' or cross */
}


.accordion {
  --bs-accordion-btn-focus-box-shadow: none;
}


.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  border: 0px;
  padding: 15px;
}

.btn-primary:hover {
  background-color: #e1aa56;
}

.more-qs {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
}

.more-qs-box {
  width: 100%;
  background-color: #ffffff;
  padding: 40px;
}

.container-bg-white {
  background-color: #ffffff;
}

.choose-us-cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #c1c1c1;
  padding: 10px;
  border-radius: 10px;
}


footer {
  background-color: var(--primary-color);
  color: #333333;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

footer p,
h5,
label {
  color: #ffffff !important;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.social-text {
  margin-top: 10px;
  font-size: 14px;
  max-width: 230px;
}

.form-control::placeholder {
  color: #666666;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #666666;
}

@media (max-width: 767.98px) {
  .social-text {
    max-width: 100%;
    margin-top: 15px;
  }
}

.get-in-touch i {
  color: #ffffff;
}

.counter-bg-img {
  background-color: var(--primary-color);
  /* background-image: url("assets/images/counter-img.webp"); */
  width: 100%;
  height: 350px;
}

.counter-content {
  color: #f1f1f1;
}

.get-in-touch h5 {
  color: #ffffff !important;
}

@media (max-width:768px) {
  .counter-bg-img {
    height: 420px;
  }

  .get-in-touch {
    text-align: center;
  }

  .get-in-touch h5 {
    color: #ffffff !important;
  }

  .donate-now-btn {
    padding-left: 10px;
    width: 35vw;
  }

  .choose-us-cards {
    display: inline-block;
  }

  .choose-us-cards svg {
    width: 55px;
    height: auto;
    margin-bottom: 10px;
  }

  .social-icons{
    justify-content: center;
    align-items: center;
  }

  .direction-l .flag:after, .direction-r .flag:after{
    display: none;
  }

  .direction-l, .direction-r{
    padding: 0px 5px !important;
  }
}

.gallery-bg-img {
  background-size: cover;
  background-repeat: no-repeat;
  height: 450px;
  border-radius: 15px;
  color: #ffffff;
  position: relative;
}

.gallery-1 {
  background-image: url(assets/images/gallery-1-img.webp);
}

.gallery-2 {
  background-image: url(assets/images/gallery-2-img.webp);
}

.gallery-3 {
  background-image: url(assets/images/gallery-3-img.webp);
}

.gallery-content {
  position: absolute;
  bottom: 34px;
  left: 24px;
}

.gallery-content p,
hr {
  color: #ffffff;
}

.gallery-content i {
  color: var(--secondary-color);
}

.testimonials {
  height: 200px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #e7e7e7;
}

.hero-section2 {
  position: relative;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  text-align: start;
}

.hero-content h1 {
  font-size: 60px;
}


/* Time line section Css Start */

@import url(https://fonts.googleapis.com/css?family=Raleway:400,900);

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
}

header h1 {
  text-align: center;
  font-weight: bold;
  margin-top: 0;
}

header p {
  text-align: center;
  margin-bottom: 0;
}

.hexa {
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;
}

.hexa:before {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

.timeline {
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 20px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213, 213, 213);
  background: -moz-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
  background: -webkit-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
  background: -o-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
  background: -ms-linear-gradient(top, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
  background: linear-gradient(to bottom, rgba(213, 213, 213, 0) 0%, rgb(213, 213, 213) 8%, rgb(213, 213, 213) 92%, rgba(213, 213, 213, 0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 2em 0;
}

.timeline .hexa {
  width: 16px;
  height: 10px;
  position: absolute;
  background: var(--secondary-color);
  z-index: 5;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: -30px;
  margin-top: 0;
}

.timeline .hexa:before {
  border-bottom: 4px solid var(--secondary-color);
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid var(--secondary-color);
  bottom: -4px;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;
  text-align: center;
}

/* .flag-wrapper {
  text-align: center;
  position: relative;
} */

.flag {
  position: relative;
  display: inline;
  background: var(--secondary-color);
  color: #ffffff;
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255, 255, 255);
  border-width: 8px;
  pointer-events: none;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: var(--secondary-color);
  display: inline-block;
  padding: 8px;
}

.desc {
  position: relative;
  margin: 1em 0 0 0;
  padding: 1em;
  background: rgb(254, 254, 254);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
}

@media(min-width: 768px) {
  .timeline {
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }

  .timeline .hexa {
    left: -28px;
    right: auto;
    top: 14px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    width: 310px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 310px;
    float: right;
    text-align: left;
  }

  .flag-wrapper {
    display: inline-block;
  }

  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: var(--secondary-color);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: var(--secondary-color);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    float: right;
  }

  .time {
    padding: 5px 10px;
  }

  .direction-r .desc {
    margin: 1em 0 0 0.75em;
  }
}

@media(min-width: 992px) {
  .timeline {
    width: 800px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    width: 380px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 380px;
    float: right;
    text-align: left;
  }
}

/* Time line section Css End  */

.vision-mission-div {
  border-radius: 20px;
}

.vision-mission-div img {
  border-radius: 30px;
  padding: 10px;
}

.vision-mission-div h5{
  color: #333333 !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link
 {
    color: #ffffff;
    background-color: var(--secondary-color);
}

.nav-item a{
    text-decoration: none;
}

.nav-link:hover {
    color: var(--secondary-color);
}



.services {
  background-image: url('assets/images/services-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: #ffffff;
  /* background-attachment: fixed; */
  /* Overlay with semi-transparent color */
  /* background-blend-mode: overlay; */
}

.services .container {
  width: 75%;
}

.dark-bg {
  background-color: var(--primary-color);
}

.dark-bg .container {
  width: 80%;
}

.dark-bg .container p {
  color: #ffffff !important;
}

.dark-bg .container span {
  color: #726363 !important;
}

.heading-3 {
  color: #ffffff;
  font-weight: 600;
}

.services .container h3 {
  color: #ffffff !important;
}

.services-card {
  background-color: #143E43;
  border-radius: 12px;
  color: #ffffff;
}

.services-card p {
  color: #cbcbcb;
  font-weight: 300;
}

.Zakat-container {
  width: 70%;
}

.zakat-div {
  background-color: #ffffff;
}

.testimonial-div {
  background-color: var(--primary-color);
}

.testimonial-div .text-center,
h3 {
  color: #ffffff !important;
}

.white-card {
  background-color: #ffffff;
  color: #333333;
  padding: 20px 10px;
  border-radius: 12px;
}

.head-5{
  color: #333333 !important;
}

/* Timeline Styling Start */

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee; 
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
    list-style-type: none;
}


.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}


.timeline > li .direction-l,
.timeline > li .direction-r {
    width: 48%;
    position: relative;
    float: left;
    text-align: right;
}

.timeline > li .direction-r {
    float: right;
    text-align: left;
}


.timeline img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.hexa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #007bff; 
    border-radius: 50%;
    border: 3px solid #fff; 
    z-index: 100;
}

.timeline > li .direction-l .hexa {
    right: -33px; 
}

.timeline > li .direction-r .hexa {
    left: -33px; 
}

.desc {
    background: #f8f9fa; 
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px !important;
    text-align: left; 
}


.timeline > li .direction-l img {
    float: left;
}

.timeline > li .direction-r img {
    float: right;
}



@media (max-width: 767px) {
    .timeline:before {
      display: none;
    }

    .timeline > li .direction-l,
    .timeline > li .direction-r {
        width: 100%;
        float: none; 
        text-align: left; 
    }

    .timeline > li .direction-l {
        padding-right: 0;
        padding-left: 45px; 
    }

    .timeline > li .direction-r {
        padding-left: 45px;
    }

  
    .timeline > li .direction-l .hexa,
    .timeline > li .direction-r .hexa {
      display: none;
    }
    

    .timeline > li img {
        width: 100%; 
        margin-bottom: 15px; 
        float: none !important; 
    }
}

/* Timeline Styling End */