body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}


header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* center the whole block */
    position: sticky;
	gap: 100px; /* <-- Increase this value to increase space between logos */
    top: 0;
    background-color: white;
    padding: 10px 20px;
    border-bottom: 3px solid orange;
    z-index: 999;
}



header img.logo { 
	height: 90px;
    max-width: 60%; /* to prevent overflow in small devices */
    flex-shrink: 0;
	}
	
header img.cfg-name {
    height: 80px;
    max-width: 45%; /* to prevent overflow in small devices */
    flex-shrink: 0;
}

/* Sticky reg no at top right */
header .reg-no {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 12px;
    color: #333;
}


.section-head {
   background-color: #FF8C00;
    max-width: 300px;
    margin: 20px auto;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    /* NEW lines for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section {
   background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    /* NEW lines for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.donate-section {
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    /* NEW lines for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.donate-text {
    font-size: 18px;
    margin-top: 10px;
    max-width: 90%;
	 color: #2655ce;
}

.donate-section img {
    height: 60px;
    cursor: pointer;
    margin-bottom: 10px; /* Optional spacing */
}

.section-heading {
    text-align: center;
    font-size: 24px;
    color: white;
    margin-top: 0px;
    margin-bottom: 0px;
}

.activities {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.activities h3 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.image-wrapper {
    text-align: center;
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.paragraph {
    text-align: justify;
    padding: 15px;
    font-size: 16px;
}

.cta-buttons {
    text-align: center;
    margin: 20px 0;
}

.cta-buttons button {
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.cta-buttons button:last-child {
    background-color: #008000;
}

.event-details {
  background-color: #f0f8ff;
  padding: 1rem;
  border-left: 0px solid #2c3e50;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.event-details h4 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.event-details p {
  margin: 0.10rem 0;
}


.gallery-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-width: 400px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  animation: slideAnimation 20s infinite ease-in-out;
  width: fit-content;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  max-width: 800px;
  height: auto;
  transition: transform 0.5s ease-in-out;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.qr-image {
  width: 200px;
  height: auto;
  margin: 20px 0;
}

.download-btn {
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.download-btn:hover {
  background: #218838;
}
.account-details {
  margin: 20px 0;
}


.donate-btn{
	  background-color: #fff;
    max-width: 300px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    /* NEW lines for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-details p {
  margin: 7px 0;
  font-size: 14px;
  color: #333;
  text-align:left;
  margin-top: 2px 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover {
  color: #000;
}


@keyframes slideAnimation {
  0%, 20%   { transform: translateX(0); }
  25%, 45%  { transform: translateX(-100%); }
  50%, 70%  { transform: translateX(-200%); }
  75%, 95%  { transform: translateX(-300%); }
  100%      { transform: translateX(0); }
}

footer {
  background: #138808;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
   
    .paragraph {
        font-size: 14px;
    }

    .cta-buttons button {
        width: 80%;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
	header {
		 gap: 40px;
	}
  header img.logo
  {
    height: 80px;
    max-width: 80%;
	 margin: 7px 0;
  }
  
  header img.cfg-name {
    height: 60px;
    max-width: 60%;
  }
}
