
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    list-style: none;
    text-decoration: none;
}

body {
    text-decoration: none;
}

.main {
    text-decoration: none;
    padding: 30px;
    height: 100%;
    padding-right: 5%;
}

.navbar1 {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: rgb(233, 236, 236);
}

.navbar1>ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar1>ul>li {
    display: flex;
    margin-left: 15px;
    font-weight: bold;
}

.navbar2 {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 3px solid rgb(226, 223, 223);
    font-weight: bold;

}

.navbar2 ul {
    display: flex;
    margin-left: 30px;
    justify-content: space-between;
    align-items: center;
    font-weight: 50px;
}

.navbar2 ul li {
    display: flex;
    margin-left: 20px;
  
}


.navbar2 ul li:hover {
    border-bottom: 2px solid greenyellow;
}

.d-botton {
    background-color: blue;
    border-radius: 10px;
    padding: 20px;
    color: white;
    font-weight: bold;
    border-style: none;
     transition: 0.1s;
}

.b-botton {
    background-color: rgb(46, 235, 21);
    border-radius: 10px;
    padding: 20px;
    color: white;
    font-weight: bold;
    border-style: none;
    transition: 0.1s;
}

.d-botton:hover {
    font-size: 14px;
    cursor: pointer;
}

.b-botton:hover {
    font-size: 14px;
    cursor: pointer;
}

.section-a {
    height: 400px;
    width: 50%;
}

.section-a h1 {
    font-size: 40px;
    margin: 30px;
    color: rgb(65, 66, 66);
}

.section-a h2 {
    font-weight: bold;
    margin: 30px;
    color: rgb(65, 66, 66);
}

.section-a h6 {
    font-size: 17px;
    margin-top: 30px;
    margin-left: 30px;
    color: rgb(116, 116, 116);
}

.section-b {
    height: 300px;
    width: 50%;
    /* padding: 12px; */
    padding-left: 50px;
    background-repeat: no-repeat;
    background-size: contain;
}
.section-b>img{
    
    height: 300px;
    width: 500px;
}
.content {
    display: flex;
    padding: 0%;
    margin: 0%;
}


.container {
    height: 150px;
    width: 100%;
    background-color: rgb(227, 250, 196);
    margin-top: 120px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    
}

.card1 .containeer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: black;
    height: 80px;
    overflow: auto;
}

.center-input {
    flex: 1;
    margin: 0 5px;
    width: 200px;
    height: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;

    

}

.card2 {
    height: 70px;
    width: 300px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: 0.3s;
    text-wrap: nowrap;
    
}

.card3 {
    height: 70px;
    width: 150px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: 0.3s;
    text-wrap: nowrap;
}

.card4 {
    height: 70px;
    width: 110px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: 0.3s;
    text-wrap: nowrap;
}

.card5 {
    height: 70px;
    width: 100px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: 0.3s;
    text-wrap: nowrap;
}

.container>.card6 {
    height: 70px;
    width: 150px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: rgb(0, 0, 0);
    transition: 0.3s;
    text-wrap: nowrap;
}

.container>.card2:hover{
    cursor: pointer;
    color: white;
    background-color: black;
    padding: 40px
    
}
.container>.card3:hover{
      cursor: pointer;
    color: white;
    background-color: black;
    padding: 40px
    
}
.container>.card4:hover{
      cursor: pointer;
    color: white;
    background-color: black;
    padding: 40px
}
.container>.card5:hover{
       cursor: pointer;
    color: white;
    background-color: black;
    padding: 40px
}
.container>.card6:hover{
       cursor: pointer;
    color: white;
    background-color: black;
    padding: 40px
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  padding-top: 25px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.what{
    display: flex;
    justify-content: center;
    font-size: 30px;
    padding: 20px;
    color: #525151;
}


.intro{
    display: flex;
     gap: 35px;
     height: 100%;
     width: 100%;
     justify-content: center;
     align-items: center;
}

.intro>.card1{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
   
    display: flex;
    justify-content: center;
    align-items: center;
  
}
.card1 .img{
    height: 80px;
    width: 78px;
    background-image: url(walfare3.png);
    padding: 30px;
}

.intro>.card2{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
   
    display: flex;
    justify-content: center;
    align-items: center;
  
}
.card2 .img{
    height: 80px;
    width: 78px;
    background-image: url(stethoscop.png.webp);
    padding: 30px;
    background-repeat: no-repeat;
}
.intro>.card3{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro>.card3 .img{
    height: 80px;
    width: 95px;
    background-image: url(phone2.png);
    padding: 30px;
}
.intro>.card4{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  
}
.card4 .img {
    height: 80px;
    width: 76px;
    background-image: url(water.webp);
    padding: 30px;
    background-repeat: no-repeat;
    
}
.intro>.card4{
    height: 200px;
    width: 240px;
    background-color: rgb(208, 255, 239);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
 .card4 .img{
    height: 80px;
    width: 76px;
    background-image: url(water.webp);
    padding: 30px;
   
}
.intro>.card5{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
 
}
 .card5 .img{
    height: 70px;
    width: 78px;
    background-image: url(education..webp);
    padding: 30px;
}
.intro>.card6{
    height: 200px;
    width: 250px;
    background-color: rgb(208, 255, 239);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  
}
.card6 .img{
    height: 75px;
    width: 85px;
    background-image: url(food.webp);
    padding: 30px;
}
 .intro .card1:hover{
cursor: pointer;

 }
 .intro .card2:hover{
    
    cursor: pointer;
   
    }
 .intro .card3:hover{
 cursor: pointer;
       
 }
 .intro .card4:hover{
cursor: pointer;
           
 }
 .intro .card5:hover{
  
 cursor: pointer;
               
     }
     .intro .card6:hover{

    cursor: pointer;
                   
 }
.donated {
    width: 100%;
    max-width: 100%;
    height: auto; /* Allow to grow as needed */
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* allow stacking on small screens */
   
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box; /* 🛑 ensures padding/border don't break width */
    overflow: hidden;
    
}

.img1,
.img2 {
    flex: 1 1 48%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
}

.img1 img,
.img2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    
}
   .img3{
    height: 100%;
    width: 500px;
    background-image: url(lab.jpg);
    border-radius: 20px;
    text-align: center;
        background-size: cover;
    background-position: center;
   }

   .donated .img1, 
 .img2, 
.donated .img3 {
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't affect total width/height */
    background-size: cover;
    background-position: center;
}

 

.donated .img1:hover, 
.donated .img2:hover, 
.donated .img3:hover {
    padding: 12px; /* Adjust this value as needed */
    cursor: pointer;
    
}
.center1{
    height: 250px;
    width: 250px;
    background-color: transparent rgb(179, 179, 179);
    
    
}
.img1 button{
    padding: 30px 80%;
}

.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f39c12;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ecf0f1;
    background-color: #34495e;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #f39c12;
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #f39c12;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #f39c12;
    margin-top: 3px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e67e22;
}

.footer-bottom {
    background-color: #1a252f;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    margin-bottom: 10px;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}


.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.section-a, .section-b {
    flex: 1 1 48%;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .card1 .container {
    flex-direction: column;
    width: 100%;
    padding: 15px;
  }

  .card1 .left-style,
  .card1 .right-style {
    font-size: 16px;
  }

  .card1 .center-input {
    width: 100%;
    font-size: 20px;
  }

  .card1, .card2, .card3, .card4, .card5, .card6 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
}


@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .section-b {
        order: -1;
        animation-name: slideInLeft;
    }

    .section-a {
        animation-name: slideInRight;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .section-b {
        order: -1;
        animation-name: slideInLeft;
    }

    .section-a {
        animation-name: slideInRight;
    }

    .section-b img {
        width: 100%;
        height: auto;
    }

    .section-a h1, .section-a h2, .section-a h6 {
        text-align: center;
        padding: 10px;
    }

    .section-a button {
        display: block;
        margin: 10px auto;
    }
}



/* Default desktop view */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        margin-top: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .nav-links button {
        width: 100%;
        text-align: left;
        padding: 10px;
    }

    .logo {
        width: 150px;
    }
}

/* --- Responsive Design --- */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .navbar1, .navbar2, .content, .intro, .donated, .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .navbar1 > ul,
    .navbar2 ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .section-a, .section-b {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px;
    }

    .container > div {
        width: 80%;
        margin: 10px 0;
    }

    .intro > div {
        width: 90%;
        margin-bottom: 15px;
    }

    .donated {
        flex-direction: column;
        height: auto;
    }

    .donated .img1, .donated .img2, .donated .img3 {
        width: 90%;
        height: 300px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    .navbar1, .navbar2, .content, .intro, .donated, .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

     .donated >div{
        margin-top: 20px;
        border: 2px solid black;
    }
    .navbar1 ul, .navbar2 ul {
        flex-direction: column;
        gap: 8px;
        margin-left: 0;
    }

    .section-a h1, .section-a h2 {
        font-size: 24px;
        margin: 15px;
    }

    .section-a h6 {
        font-size: 14px;
        margin: 10px;
    }

  
    .card1, .card2, .card3, .card4, .card5, .card6 {
        width: 80% !important;
        padding: 10px;
        font-size: 14px;
    }

    .intro > div {
        width: 90%;
    }

    .container {
        padding: 10px;
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .slideshow-container {
        padding-top: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        margin: 5px 0;
    }
}

/* Extra small (up to 480px) */
@media (max-width: 425px) {
    .d-botton, .b-botton {
        padding: 10px;
        font-size: 14px;
    }

    .img1, .img2, .img3 {
        height: 200px;
    
    }

    .donated >div{
        margin-top: 20px;
        border: 2px solid black;
    }
    .card1 .img, .card2 .img, .card3 .img, .card4 .img, .card5 .img, .card6 .img {
        padding: 10px;
        background-size: contain;
    }

    .footer-links {
        flex-direction: column;
    }
}



@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 20px 10px;
  }
.section-a{
    text-align: center;
}
.footer-column h3::after {
    display: none;
}

  .card1, .card2, .card3, .card4, .card5, .card6 {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: 10px;
    text-align: center;
  }

  .card1 .container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: 100%;
  }

  .center-input {
    width: 100%;
    font-size: 24px;
    text-align: center;
  }

  .left-style, .right-style {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    display: none ;
  }

  .card1,
  .card2,
  .card3,
  .card4,
  .card5,
  .card6 {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
  }

  .card1 .card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: black;
    border-radius: 10px;
  }

  .left-style,
  .right-style {
    font-size: 18px;
  }

  .center-input {
    width: 100%;
    font-size: 24px;
    padding: 10px;
    text-align: center;
  }
}


