@media (max-width: 768px){
  .hero-text {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    align-items: center !important;
    text-align: center;
  }
  .mobile-only {
    display: block !important;
  }
  .hero-text img {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text h2 {
    font-size: 2.8rem;
    color: #0f766e;
  }
  .hero-text h1 {
    font-size: 2.3rem;
  }
  .btn-donate {
    background-color: #0d9488;
    color: white;
    font-size: 12px;
  }
  .btn-donate:hover {
    background-color: #0f766e;
  }
  .btn-volunteer {
    font-size: 12px;
    border-color: #0d9488;
    color: #0d9488;
  }
  .btn-volunteer:hover {
    background-color: #d1fae5;
  }
  .svg-icon {
    filter: invert(49%) sepia(84%) saturate(331%) hue-rotate(141deg)
      brightness(92%) contrast(88%);
  }
  .search {
    filter: invert(100%);
    font-weight: 600;
  }
  .Lists {
    flex-direction: column;
    align-items: center;
    gap: 0px !important; 
    margin: 20px; 
    margin-top: 30px;
  }

  .left,
  .right {
    width: 100% !important;
    padding: 0 1rem;
  }

  .Heading {
    font-size: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .li1 {
    margin-bottom: 20px;
    font-size: 16px;
  }
  .Goal {
    flex-direction: column;
    align-items: center;
  }
  .hide {
    display: none;
  }
  .Donation-Heading {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-family: sans-serif;
    font-weight: 800;
    margin-bottom: 47px;
  }
  .Impact {
    padding: 15px !important;
  }
  .NewTry {
    text-align: center;
  }
  .NewTry .col-md-2 {
    margin-bottom: 2rem;
  }
  .ramais {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px;
  }
  .donation-top-grid {
    padding: 18px !important;
}
  .donation-bottom-grid {
    padding: 18px !important;
}
.donation-icons-grid{
  margin-top: 33px;
}
}

@media (min-width: 992px) {
  .new {
    margin-top: 20px;
    margin-left: 60px;
    height: 100px;
  }
  .newh {
    margin-left: 90px;
    margin-top: 17px;
    font-size: 4rem;
    color: #0f766e;
  }
  .newh2 {
    margin-left: 90px;
    margin-top: 17px;
    font-size: 4rem;
  }
  .newp {
    margin-left: 90px;
    margin-top: 15px;
  }
  .button {
    margin-left: 90px;
    margin-top: 20px;
  }
  .collapse {
    margin-right: 220px;
    margin-top: 15px;
    font-size: 15px;
  }
}

body {
  font-family: sans-serif;
}
.top-bar {
  background: linear-gradient(to right, #0891b2, #14b8a6);
  color: white;
  font-size: 12px;
}
.top-bar img {
  width: 14px;
  height: 14px;
}
.btn-donate:hover {
  background-color: #0f766e;
}
.btn-donate {
  background-color: #0d9488;
  color: white;
  font-size: 12px;
}
.hidebutton {
  display: none;
}
.Heading {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  font-weight: 800;
  font-size: 44px;
  font-family: inherit;
}
.Lists {
  gap: 133px;
  display: flex;
  justify-content: center;
  margin-top: 90px;
  color: #364153;
  font-size: 15px;
  font-weight: 700;
}
.li1 {
  margin-bottom: 45px;
}
.left {
  width: 400px;
  list-style: square;
}
.right {
  width: 400px;
  list-style: square;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #0f766e;
  color: white;
  place-items: center;
}
.card {
  background-color: #0d9488;
  border-bottom-left-radius: 2rem;
  text-align: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
  max-width: 320px;
  width: 100%;
}

.card h3 {
  font-weight: bold;
  font-size: 1.25rem;
}

.card p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.icon {
  width: 80px;
  margin-top: 1.5rem;
  filter: invert(100%) brightness(0%);
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  color: white;
  place-items: center;
}
.icon {
  filter: invert(100%) sepia(0%) saturate(0%) brightness(200%);
}
#Donate {
  background-color: white;
  padding: 4rem 1rem;
}

.donation-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Top section grid */
.donation-top-grid {
  display: grid;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .donation-top-grid {
    grid-template-columns: 1fr 1fr;
    margin-right: 2.5rem;
  }
}

.donation-main-img {
  width: 300px;
  height: 400px;
  margin: 1.5rem 0 2.5rem 2.5rem;
}

/* Utilization section */
.donation-heading {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  margin-left: 1rem;
}

.donation-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem;
  text-align: center;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-box img {
  width: 40px;
  margin-bottom: 0.5rem;
}

.icon-box p {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Bottom section grid */
.donation-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .donation-bottom-grid {
    grid-template-columns: 1fr 1fr;
    margin-left: 3rem;
  }
}

.bottom-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.bottom-text {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.donation-button {
  background-color: #14b8a6;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.donation-button:hover {
  background-color: #0f766e;
}

.child-img {
  width: 224px;
  height: 320px;
  margin-top: 3rem;
  border-bottom-right-radius: 80px;
}
.bg-teal {
  background-color: #0f766e;
}

.text-teal {
  color: #0f766e !important;
}

.object-fit-cover {
  object-fit: cover;
}
.bg-teal {
  background-color: #0f766e;
}
.text-teal {
  color: #0f766e !important;
}
/* Footer Background */
.bg-teal {
  background-color: #0f766e; /* Teal shade similar to Tailwind's teal-600 */
}

/* Text color override */
.text-teal {
  color: #0f766e !important;
}

/* Font styling for serif heading */
.font-serif {
  font-family: "Georgia", "Times New Roman", serif;
}

/* Utility: Padding and margin helpers */
.w-75 {
  width: 75% !important;
}

.text-sm {
  font-size: 0.875rem; /* Equivalent to Tailwind's text-sm */
}

/* Ensure the social icons have hover effect */
footer .social-icons a {
  transition: color 0.3s ease;
}
footer .social-icons a:hover {
  color: #d1d5db; /* Tailwind's gray-300 */
}

/* Gap utility for older Bootstrap versions (if needed) */
.gap-3 {
  gap: 0.5rem !important;
}
.donation-top-grid {
  padding: 55px;
}
.donation-bottom-grid {
  padding: 55px;
}
.right-container {
  width: 68%;
  max-width: 50%;
  margin-top: 15px;
}
.child-img {
  margin-left: 85px;
}
/* Add this at the very top of your CSS */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.donation-bottom-grid{
  margin-top: 0px;
}
.mobile-only {
  display: none;
}


@media only screen and (min-width: 768px) and (max-width: 991px) {  
  html,
  body {
    overflow-x: hidden;
  }

  .Lists {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center !important;
    margin-left: 25px;
  }

  .donation-main-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .hero-text {
    font-size: 1rem;
  }
  .Heading {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.7rem;
  }

  .btn-donate,
  .btn-volunteer {
    font-size: 14px;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-align: center;
  }

  .donation-icons-grid {
    display: grid;
    gap: 1.5rem;
  }

  .li1 {
    margin-bottom: 1rem;
    font-size: 10px;
  }
  .donation-utilization {
    margin-left: 70px !important;
  }

  .donation-bottom-grid {
    flex-direction: row !important;
    display: flex !important
;
  }
  .donation-left {
        width: 50% !important;
        margin-left: 36px;
        padding: 35px;  }
  .Donation-Heading {
text-align: left;
        font-size: 1.1rem;  }
  .child-img {
    display: flex;
    width: 192px !important;
    height: 280px !important;
  }
  .collapse {
    margin-right: 0;
  }

  #mainNav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }
  .Goal {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    padding: 39px;
    gap: 18px;
    flex-direction: row;
    font-size: 20px !important;
  }
  .donation-main-img {
    width: 190px !important;
    height: 270px !important;
    margin: 1.5rem 0 2.5rem 2.5rem;
  }
  .donation-top-grid {
    flex-direction: row !important;
    display: flex !important;
    padding: 0 !important;
  }
  .donation-bottom-grid {
    padding: 21px !important;
  }
  .navbar-toggler {
    display: none;
  }
  .navbar-collapse {
    display: flex !important;
  }
  .navbar-nav {
    flex-direction: row;
    margin-right: 84px;
    font-size: 15px;
    font-weight: 600;
  }
  .nav-item-Login {
    display: none;
  }
  .Community-Heading{
    font-size: 18px !important;
  }
  .Community-Heading2{
    font-size: 20px !important;
  }
  .Community-Paragraph{
    font-size: 12px;
  }
  .Community-left{
        width: 45% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
  }
  .Community-Box{
    width: 106%;
  }

  .footer-container{
    padding-left: 30px !important;
  }
  .right-container{
    width: 50% !important;
  }
  .paragraph{
    font-size: 10px !important;
  }
  .ZIAUDDIN{
    width: 255px !important;
  }
  .right-container{
    margin-right: 125px ;
  }
  .card{
    padding: 0.5rem;
  }
  .card p{
    font-size: 12px;
  }
  /* .large{
    height: 131px;
    width: 85% !important;
  }
  .small{
        height: 131px;
    width: 80% !important;
  } */
}
