body{
  margin: 0;
  font-family:Arial, Helvetica, sans-serif;
  color:#071248;
}
h5{
  background-color:rgba(198, 217, 233, 0.559);
  border-radius: 20px;
}
.title {
  text-align: center;
  font-size: 2rem;
  color: #071248;
  margin-top: -20px;
  margin-bottom: 5px;
}
#header{
  display: flex;
  background-color: rgba(127, 154, 231, 0.4);
}
.logo{
  width: 25%;
  margin: 10px,5px;
}
.nav{
  margin-left: auto;
  display: flex;
}
.navmenu{
  display: flex ;
  list-style-type: none;
  align-items: center;
}
.navmenu li{
  margin: 0 30px;
}
.dua{
  font-size: 1.3em;
  text-align: center;
  padding: 0 20px;
}
.ayah{
  font-size: 1.2em;
  margin-bottom: 0;
}
.campaign-carousel{
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: auto;
}
.carousel-track{
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.campaign-card{
  min-width: 300px;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #fff;
  flex:0,0 auto;
}
.campaign-card img{
  width: 100%;
  border-radius:8px ;
  object-fit: cover;
}
.campaign-card h3 a {
  color: #071248;
  text-decoration: none;
}
.carousel-btn {
  position: absolute;
  top: 60%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}
.carousel-btn.left {
  left: 1px;
}

.carousel-btn.right {
  right: 10px;
}
.projects{
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.projectgroup {
  display: flex;
  gap: 20px;
}
.campaignbox:hover,
  .highlight-card:hover {
    transform: translateY(-5px);
  }
.campaignbox {
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 300px;
  max-width: 300px;
  max-height: 500px;
}
.campaignbox img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  background: #ccc;
}
.campaignbox h3 a {
  color: #071248;
  text-decoration: none;
  margin:0;
}

.campaignbox p {
  color: #444444;
  margin:0;
}
.about-us {
  padding: 0px 20px;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.about-us .container {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.about-us h1 {
  font-size: 36px;
  color: #0e3c60;
  text-align: center;
  margin-bottom: 10px;
  margin-top: -5px;
}
.about-us h2 {
  font-size: 22px;
  color: #176085;
  text-align: center;
  margin-bottom: 30px;
  font-weight: normal;
}
.about-us h3 {
  font-size: 20px;
  color: #0e3c60;
  margin-top: 40px;
}
.about-us p {
  line-height: 1.8;
  font-size: 16px;
  color: #333333;
  margin-top: 15px;
}
.about-us ul {
  padding-left: 20px;
  margin-top: 15px;
}
.about-us ul li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.about-us strong {
  color: #0e3c60;
}
.campaignGI{
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #071248;
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card-grid,
  .campaign-highlight-grid {
    display: grid;
    gap: 20px;
    padding: 0 20px;
  }
  .campaign-highlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .card,
  .highlight-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  .card p,
  .highlight-card p {
    color: #555;
    font-size: 0.95rem;
    margin-top: 10px;
  }
  .card:hover,
  .highlight-card:hover {
    transform: translateY(-5px);
  }
  .card img,
  .highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  .card p,
  .highlight-card p {
    color: #555;
    font-size: 0.95rem;
    margin-top: 10px;
  }
  .campaign-section {
    max-width: 800px;
    margin: 40px auto;         /* Centers the section horizontally */
    padding: 40px 30px;        /* Adds spacing inside the box */
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box;
  }
  
  
  .campaign-title {
    text-align: center;
    color: #071248;
    margin-bottom: 20px;
  }
  
  .intro {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .campaign-text {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
  }
  
  .section-heading {
    color: #071248;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  
  .fee-list {
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  .invoice-download {
    background-color: #f1f3f6;
    padding: 15px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
  }
  
  .download-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: rgb(7, 18, 72);
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .download-btn:hover {
    background-color: #142a94;
  }
  
  .whatsapp-link {
    color: #0056b3;
    text-decoration: underline;
  }
  
  .closing-message {
    font-weight: bold;
    color: #071248;
    margin-top: 30px;
  }
  h4{
  margin: 3px 0;
}
h3{
  margin: 5px 0;
}
p{
  margin: 5px 0;
}
h5{
  margin: 3px 0;
}

/* friendsoffoundation*/
.supporters {
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.supporters h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.supporters .intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.supporter-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  margin: 15px auto;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.supporter-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.supporter-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.supporter-card p {
  font-size: 0.95rem;
  color: #444;
}
.supporter-card ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.supporter-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.visit-btn, .become-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #009688;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.become-supporter {
  margin-top: 30px;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
  .supporters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
  }

  .supporter-card, .become-supporter {
    text-align: center;
    max-width: 100%;
  }

  .supporters h2, .supporters .intro {
    grid-column: 1 / -1;
    text-align: center;
  }
}






