
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




body {
  font-family: Klima, Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Page wrapper */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #800000;
  padding: 10px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Zain', Arial, sans-serif;
}

header a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
}

.LOGO img {
  height: 40px;
  width: auto;
  padding-left: 5px;
  
}

h1 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-left: 20px;
  flex: 1;
  font-family: 'Zain', Arial, sans-serif;
  
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffffff;
}

nav a.active {
  color: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #ff6b00;
}

.home-hero {
  background-image: url('Assets/Home Main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 750px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 border-bottom-left-radius: 20px;
 border-bottom-right-radius: 20px;
 overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home-hero .hero-text {
  color: #ffbf30;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  font-family: 'Zain', Arial, sans-serif;
}

.home-hero .hero-text h1 {
  font-size: 5rem;
  margin-bottom: 0;
  font-family: 'Zain', Arial, sans-serif;
  line-height: 1;
  color: #ffbf30;
}

.home-hero .hero-text p {
  font-size: 1.9rem;
  margin-top: 0;
  font-family: 'Zain', Arial, sans-serif;
  line-height: 1;
}


/* Mission statement hero */
.hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  margin: 0 auto;
}



.hero p {
  font-size: 1.9rem;
  font-family: 'Zain', Arial, sans-serif;
  color: #800000;
  text-align: center;
  

}

.early-intervention-better {
  background: #ffbf30;
  color: #800000;
  text-align: center;
  padding: 60px 20px;
  min-height: 250px;
  font-style: italic;
  font-weight: 100;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.early-intervention-better h2 {
  font-size: 2.4rem;
  margin-bottom: 2px;
  font-family: 'Zain', Arial, sans-serif;
}

.early-intervention-better p {
  font-size: 1.9rem;
  margin: 0;
  font-family: 'Zain', Arial, sans-serif;
  font-style: italic;
}

/* WHAT IS AUTISM SECTION */

.what-is-autism {
  padding: 60px 20px;
  background: #fff;
}

.what-is-autism-container {
  max-width: 800px;
  margin: 0 auto;
}

.what-is-autism h2 {
  color: #800000;
  font-size: 3rem;
  font-family: 'Zain', Arial, sans-serif;
  text-align: center;
  margin: 0;
  line-height: 1.1;
  font-weight: bold;
  position: relative;
  
}



.what-is-autism-info {
  background: #fff;
  
 
  padding: 24px;
  /* Remove max-width and margin to allow full width */
  
  
  box-sizing: border-box;
  color: #800000;
  font-family: 'Zain', Arial, sans-serif;
  text-align: left;
  
}

.what-is-autism-info p {
  margin: 0 0 1em 0; /* add bottom margin for spacing */
  font-size: 1.6rem;
  line-height: 1.7;
  color: #800000;
  text-align: left;
  text-align: justify;
  
}
.what-is-autism-info em {
  font-style: italic;
  color: #800000; /* Optional: deep maroon to match your theme */
  font-weight: bold;
}


/* Existing section style stays the same! */

.disruptive-processes {
  margin-top: 10px;
  text-align: center;
  margin-bottom: 120px;
}



.flip-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.flip-card {
  background-color: transparent;
  width: 450px;
  height: 250px;
  perspective: 1000px;
  border-radius: 40px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 2.3s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.flip-card-front {
  background-color: #800000;
  color: #ffbf30;
}

.flip-card-front h4 {
  margin: 0;
  font-size: 2.6rem;
  font-family:'Zain', Arial, sans-serif
}

.flip-card-back {
  background-color: #ffb300;
  color: #800000;
  transform: rotateY(180deg);
  font-size: 1.2rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}





.autism-institute {
  padding: 60px 20px;
  background: #ffbf30;
  
}

.autism-institute-container {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.autism-institute h2 {
  color: #800000;
  font-size: 3rem;
  font-family: 'Zain', Arial, sans-serif;
  text-align: center;
  margin-bottom: 30px;
  line-height: 0.2;
  font-weight: bold;
  position: relative;
}



.autism-institute-info {
  background: #ffbf30;
  
  

  padding: 24px;
  box-sizing: border-box;
  color: #800000;
  font-family: 'Zain', Arial, sans-serif;
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
}

.autism-institute-info p {
  margin: 0 0 0.2em 0;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #800000;
  text-align: left;
  text-align: justify;
}



.causes-of-autism {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.causes-of-autism h2 {
  color: #800000;
  font-size: 3rem;
  margin-bottom: 2px;
  position: relative; /* needed for ::after positioning */
  display: inline-block; /* makes underline fit the text only */
  padding-bottom: 1px;  /* adds some space for the underline */
  font-family: 'Zain', Arial, sans-serif ;
}





.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cause-card {
  background: #800000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: max-height 0.4s ease, transform 0.3s ease;
  max-height: 100px;
  position: relative;
  margin-top: 50px;
}

.cause-front {
  padding: 20px;
}


.cause-back {
  padding: 0 20px 20px 20px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.cause-card:hover {
  max-height: 400px;
  transform: translateY(-5px);
  color: #ffffff;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.2rem;
  padding-bottom: 100px;
}

.cause-card:hover .cause-back {
  opacity: 1;
  max-height: 300px;
}

.cause-card h3 {
  color: #ffbf30;
  margin: 0;
  border-bottom: 2px solid #ffbf30; /* underline */
  display: inline-block;            /* so underline fits text only */
  padding-bottom: 2px;  
}

.cause-back ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

.cause-back ul li {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.cause-back .quote {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 12px;
}









.intervention-donate {
  background: #ffb300;
  color: #800000;
  text-align: center;
  padding: 60px 20px;
  margin-top: 0px;
  min-height: 250px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;

 
}

.intervention-donate h2 {
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Zain', Arial, sans-serif;
}

.intervention-donate p {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 30px;
  
}

.intervention-donate .button {
  display: inline-block;
  background: #800000;
  color: #ffbf30;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-style: normal;
  transition: background 0.3s;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.5rem;
}

.intervention-donate .button:hover {
  background: #580101;
}





























/* About hero */
.about-hero {
  text-align: center;
  padding: 20px 20px;
  background-color: #ffffff;
  margin: 0 auto;
}

.about-hero h2 {
  color: #800000;
  
  display: inline-block;
  font-size: 3rem;
  font-family:'Zain', Arial, sans-serif ;
  line-height: 1.5;
  margin-bottom: 10px;
}



.about-hero p {
  font-size: 1.45rem;
  color: #800000;
  font-family:'Zain', Arial, sans-serif ;
  padding: 0 20px;
  text-align: left;
  width: 1580px;
  margin-left: 20px;
  text-align: justify;
  margin: 20px auto 0 auto;
}

.about-side-by-side {
  display: flex;
  justify-content: center;
  gap: 150px;
  flex-wrap: wrap;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 50px auto;
}

.about-box {
  background-color: #002147;
  color: #ffffff;
  border-radius: 30px;
  padding: 40px 30px;
  flex: 1 1 400px;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 400px;
  opacity: 20;
}

.about-box h2 {
  color: #ffbf30;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.about-box h2::after {
  content: "";
  display: block;
  width: 425px;
  height: 5px;
  background-color: #800000;
  margin: 6px auto 0;
  border-radius: 2px;
}

.about-box p,
.about-box ul {
  font-size: 1.3rem;
  line-height: 1.7;
  font-family: 'Zain', Arial, sans-serif ;
  color: #ffffff;
  text-align: left;

}

.about-box ul {
  padding-left: 20px;
}

.about-box ul li {
  margin-bottom: 10px;
}

.center-button {
  margin-top: 20px;
  text-align: center;
  padding-bottom: 40px;
}

.button {
  background: #ffb300;
  color: #fff;
  padding: 10px 60px;
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.3rem;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === BOARD ROW === */
.board-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  margin-bottom: 80px;
  max-width: 1200px;
  padding: 0 40px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: nowrap;
}

.board-row.reverse {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.board-hero {
  text-align: center;
  padding: 40px 20px;
}

.board-hero h2 {
  color: #800000;
  margin-bottom: 30px;
  text-align: center;
  display: inline-block;
  position: relative;
  font-size: 3rem;
  font-family: 'Zain', Arial, sans-serif;
}



.board-photo {
  flex: 0 0 400px;
  height: 600px;
  overflow: hidden;
  border-radius: 40px;
  
  
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 20px;
  transition: transform 0.3s ease;
}
  /* Removed invalid overflow */

.board-photo img:hover {
  transform: scale(1.03);
}

.board-info {
  flex: 1;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.board-info h3 {
  font-size: 1.9rem;
  color: #800000;
  margin-bottom: 10px;
  font-family: 'Zain', Arial, sans-serif;
}

.board-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 15px;
  font-family: 'Zain', Arial, sans-serif;
}


.board-info p {
  margin: 5px 0;
  line-height: 1.6;
  color: #000000;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.2rem;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .board-row,
  .board-row.reverse {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .board-info {
    text-align: center;
  }

  .board-photo {
    width: 100%;
    height: auto;
  }

  .board-photo img {
    height: auto;
  }
}
















/* We Work For Children With section */
.puzzle-icons {
  position: relative;
  width: 100%;
  padding: 20px 20px 60px;
  background-color: #002147;
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 30px;
}

.puzzle-icons h2 {
  margin: 0;  /* Remove ALL default margins */
  color: #ffb300;
  font-size: 3rem;
  font-weight: bold;
  font-family: 'Zain', Arial, sans-serif;
  position: relative;
  top: -2px;
  text-align: center;
}





.icon-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  column-gap: 100px;
  flex-wrap: wrap;
  z-index: 1;
  row-gap: 0;
  margin-top: 20px;
}

.work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-bubble {
  background-color: #ffb300;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-bubble img {
  width: 100px;
  height: 100px;
}

.work-item h3 {
  margin-top: 10px;
  font-size: 1.4rem;
  color: #ffb300;
  text-align: center;
  font-family: 'Zain', Arial, sans-serif;
}

/* Rolling Gallery Section */
.gallery-strip {
  width: 100%;
  padding: 60px 0;
  background-color: #800000;
  text-align: center;
  overflow: hidden;
  
}

.gallery-strip h2 {
  font-size: 2.6rem;
  color: #ffb300;
  margin-bottom: 30px;
  position: relative;
  font-family: 'Zain', Arial, sans-serif;
}


.gallery-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  animation: scroll 30s linear infinite;
  
}

.gallery-track img {
  flex: 0 0 auto;
  height: 250px;
  border-radius: 16px;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Our Achievements Section */
.achievements {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  
}

.achievements-container {
  max-width: 1600px;
  margin: 0 auto;
  background-color: #002147;
  border-radius: 30px;
  padding: 40px 100px;
}

.achievements h2 {
  font-size: 3rem;
  color: #ffbf30;
  margin-bottom: 20px;
  top: -5px;
  position: relative;
  font-family: 'Zain', Arial, sans-serif;
}



.achievement-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.achievement-item {
  background-color: #800000;
  border-radius: 40px;
  padding: 40px 50px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achievement-item h3 {
  font-size: 2rem;
  color: #ffb300;
  margin-bottom: 10px;
  font-family:'Zain', Arial, sans-serif ;
}

.achievement-item p {
  font-size: 1.2rem;
  color: #ffffff;
  text-align: center;
  font-family:'Zain', Arial, sans-serif ;
}

body {
  text-align: left; /* ← only center headings if needed! */
}

.page-container {
  text-align: left; /* ← same */
}

/* === SERVICES HERO === */
.services-hero {
  
  padding: 60px 20px;
  background: #ffffff;
}

.services-hero h2 {
  color: #ffbf30;
  margin-bottom: 20px;
  font-weight: bold;
  font-family:'Zain', Arial, sans-serif ;
}



.services-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 ;          /* <<< REMOVE auto centering! */
  text-align: left;
  line-height: 1.7;
  color: #ffbf30;
  
}


/* === Services List === */
.services-list {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

.services-list h3 {
  color: #800000;
  margin-bottom: 10px;
  text-align: left;
  font-style: italic;
}

.services-list p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #ffbf30;
  text-align: left;
}

.services-list ul {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 30px;
  text-align: left;
}

.services-list li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #002147;
  text-align: left;
}





/* === Contact Hero heading === */
.contact-hero {
  text-align: center;
  padding: 60px 40px;
  background: #ffffff;
}

.contact-hero h2 {
  font-size: 3rem;
  color: #800000;
  margin-bottom: 40px;
  font-family: 'Zain', Arial, sans-serif;
}



/* === New flex wrapper === */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

/* === Left boxes === */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
  align-items: flex-start;
}

.contact-box {
  background: #002147;
  color: #ffffff;
  border-radius: 30px;
  padding: 40px 30px;
  flex: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 250px;
  width: 100%;
  max-width: 500px;
  
}

.school-contact {
  background: #002147;
}

.board-contact {
  background: #800000;
}

.contact-box p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  line-height: 1.7;
  font-family: 'Zain', Arial, sans-serif;
}
.contact-box p img {
  width: 25px;
  height: 25px;
  object-fit: contain;

}

.contact-box a {
  color: #ffb300;
  text-decoration: none;
}

/* === Right form === */
.contact-form {
  flex: 1;
  max-width: 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form h2 {
  color: #002147;
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Zain', Arial, sans-serif;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.4rem;
  color: #800000;
}

.contact-form label {
  margin: 5px 0 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 2px solid #ffbf30;
  border-radius: 8px;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Zain', Arial, sans-serif;
  color: #800000;
  
}

.contact-form .button {
  background: #ffb300;
  color: #800000;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.contact-form .button:hover {
  background: #ffa000;
}

/* === SERVICES PAGE HERO HEADING === */
.services-hero {
  text-align: center;
  padding: 20px 20px;
  background: #ffffff;
}

.services-hero h2 {
  color: #800000; /* golden accent */
  margin-bottom: 10px;
  display: inline-block;
  font-size: 2.5rem;
  font-family:'Zain', Arial, sans-serif;
}



/* === SERVICES INTRO BOX === */
.services-intro {
  background: #ffbf30;   /* dark blue background */
  border-radius: 30px;   /* big smooth curve */
  width: 100%;            /* run almost full width */
  max-width: 1360px;     /* limit on large screens */
  margin: 10px auto;     /* SAME spacing above & below for balance */
  padding: 30px 40px;    /* inner padding */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* soft shadow */
  box-sizing: border-box;
  margin-bottom: 150px;
}

.services-intro p {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #800000; /* white text for contrast on dark blue */
  margin: 0;
  font-family: 'Zain', Arial, sans-serif;
}

/* === SERVICES LIST AS CURVED BOX === */
.services-list {
  background: #ffffff;               /* white card */
  border-radius: 12px;               /* same soft corners */
  width: 90%;                        /* match intro width behavior */
  max-width: 1200px;                 /* same limit for harmony */
  margin: 0 auto 40px auto;          /* top: 0, bottom: same as intro margin */
  padding: 30px 40px;                /* inner space */
  
  text-align: left;
}

.service-item {
  margin-bottom: 30px;               /* spacing between items */
}

.service-item h3 {
  font-size: 2rem;
  color: #800000;                    /* maroon */
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-family: 'Zain', Arial, sans-serif;
  
}

.service-item p {
  font-size: 1.5rem;
  line-height: 1.3;
  color: #002147;                    /* deep blue */
  padding-left: 25px;
  font-family: 'Zain', Arial, sans-serif;
}





/* === SERVICES LIST === */
.services-list {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 40px;
  text-align: left;
}

.service-item {
  margin-bottom: 30px;
}

.service-item h3 {
  font-size: 1.8rem;
  color: #800000; /* maroon */
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.service-item p {
  font-size: 1.3rem;
  line-height: 1.2;
  color: #000000;
  padding-left: 25px;
  max-width: 1400px;
}




/* Container for the events section */
.events-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

/* Section heading */
.events-section h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-family: 'Zain', Arial, sans-serif;
  color: #800000;
  position: relative; /* Needed for the ::after positioning */
  display: inline-block; /* Shrinks width to content */
  padding-bottom: 10px; 
  margin: 0 auto;
  line-height: 1;
}



/* Horizontal rule styling */
.events-section hr {
  margin: 20px 0 40px 0;
  border: none;
}

/* Main event card */
.event-card-funfair,
.event-card-dinner,
.event-card-activities {
  display: flex;
  align-items: stretch;
  background: #ffb300;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-height: 700px;
  max-width: 1500px;
  width: 100%;
  position: relative;
  margin: 40px auto;
  overflow: visible;
}

/* Event text content */
.event-content {
  flex: 3;
  padding: 50px 400px 50px 50px;  /* Extra right padding for film strip */
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.3rem;
  color: #800000;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
  width: calc(100% + 340px);
  flex-grow: 3;
  flex-shrink: 1;
  flex-basis: 0;
  padding-right: -10px ;


}

.event-content h3 {
  font-size: 2.2rem;
  margin-bottom: 2px;
  color: #800000;
}

.event-content p {
  font-size: 1.5rem;
  color: #800000;
  line-height: 1.6;
  margin-top: 4 px;
  text-align: justify;
}

/* Vertical film strip container */
.event-film-strip {
  position: absolute;
  right: -70px;
  top: 0;
  bottom: 0;
  width: 400px;
  background: #800000;
  border-radius: 0 50px 50px 0;
  padding: 20px 0;
  box-shadow: -3px 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.event-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.event-list li {
  margin-bottom: 6px;
  font-size: 1.5 rem;
  line-height: 1.5;
}




/* Inner track for vertical scrolling */
.film-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scrollUp 120s linear infinite;
}

/* Images inside the film strip */
.film-track img {
  width: 340px;
  height: 240px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* Animation keyframes for vertical scroll */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .event-card-funfair,
  .event-card-dinner,
  .event-card-activities {
    flex-direction: column;
    min-height: unset;
    max-width: 95vw;
  }
  .event-content {
    padding: 30px 20px;
    font-size: 1.1rem;
  }
  .event-film-strip {
    position: static;
    width: 90%;
    height: 180px;
    margin: 30px auto 0 auto;
    border-radius: 0 0 50px 50px;
    padding: 10px 0;
  }
  .film-track {
    flex-direction: row;
    animation: scrollLeft 25s linear infinite;
    gap: 15px;
  }
  .film-track img {
    width: 120px;
    height: 80px;
  }
}

/* Horizontal scroll animation for mobile */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.event-card-funfair {
  margin-left: 200px;
  margin-right: auto;
}
.event-card-dinner {
  transform: translateX(-200px); /* Adjust value as needed */
  flex-direction: row-reverse;
}

.event-card-activities {
  margin-left: 200px;
  margin-right: auto;
}












.faq-hero {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  margin: 0 auto;
}

.faq-hero h2 {
  color: #800000; /* same golden accent as other heroes */
  margin-bottom: 10px;
  display: inline-block;
  font-size: 2.5rem;
  font-family: 'Zain', Arial, sans-serif;
}



.faq-hero p {
  font-size: 1.1rem;
  margin-top: 10px;
  font-family:'Zain', Arial, sans-serif ;
}

.faq-list {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 40px;
  text-align: left;
  display: block;
}

.faq-list * {
  text-align: left;
}

.faq-items {
  margin-bottom: 30px;
  text-align: left;
  display: block;
}

.faq-items h3 {
  position: relative;
  font-size: 1.9rem;
  color: #ffbf30; /* Maroon */
  font-family: 'Zain', Arial, sans-serif;
  margin-bottom: 10px;
  padding-left: 25px;
}


.faq-items p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #800000; /* Golden yellow */
  padding-left: 25px;
  font-family: 'Zain', Arial, sans-serif;
}

.faq-items h3 .qm {
  font-size: 0.8em;  /* adjust as you like */
  vertical-align: baseline; /* optional — raises the ? slightly */
  text-align: center;
  position: relative;
  top: -1px;
}

/* === DONATE HERO === */
.donate-hero {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
}

.donate-hero h2 {
  color: #800000;
  margin-bottom: 100px;
  font-size: 3rem;
  font-family: 'Zain', Arial, sans-serif;
}



/* === FLEX CONTAINER === */
.donate-flex {
  display: flex;
  justify-content: center;
  align-items: stretch; /* equal heights */
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

/* === COMMON BOX === */
.donate-box {
  flex: 1;               /* equal space */
  min-width: 250px;
  max-width: 300px;
  background: #ffb300;
  border-radius: 20px;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  font-family: 'Zain', Arial, sans-serif;
  
}

/* === SPECIFIC BOXES === */
.donate-donate,
.donate-sponsor {
  /* inherits .donate-box */
}

/* === DONATE OPTION === */
.donate-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.donate-option:last-child {
  margin-bottom: 0;
}

.donate-option img {
  width: 60px;
  margin-bottom: 10px;
}

.donate-option p {
  color: #800000;
  font-weight: bold;
  font-size: 1.3rem;
}

/* === INFO BOX === */
.donate-info {
  flex: 2;                /* takes more width */
  border: 2px solid #800000;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: left;
  box-sizing: border-box;
  display: flex;           /* ensures same height */
  align-items: center;     /* centers text vertically */
}

.donate-info p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #800000;
  font-family:'Zain', Arial, sans-serif ;
  margin-bottom: 30px;
}

/* === Download Button === */
.button {
  display: block;
  background: #ffb300;
  color: #800000;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
  width: 300px
}

.button:hover {
  background: #ffa000;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .donate-flex {
    flex-direction: column;
    align-items: center;
  }

  .donate-box,
  .donate-info {
    width: 100%;
    max-width: 600px;
  }

  .donate-info {
    flex: none;
  }
}


/* === PIECHART SECTION === */
/* === SECTION WRAPPER === */
.donate-piechart {
  background: #fff;
  padding: 48px 20px 80px 20px;
  margin-top: 15px;
  text-align: center; /* centers the h3 heading */
}

.donate-piechart h3 {
  color: #800000;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 2.6rem;
  margin-bottom: 60px; /* reduced from 34px to ~8px */
  font-weight: bold;
  letter-spacing: 0.5px;

}







/* === FLEX CONTAINER === */
.piechart-flex-container {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  gap: 40px;                 /* space between pie and text */
  max-width: 1200px;         /* container limit */
  margin: 0 auto;            /* center whole row in section */
  flex-wrap: wrap;           /* stack on mobile */
  box-sizing: border-box;
}

/* === PIE CHART === */
.piechart-container {
  flex: 0 0 55%;           /* fixed width block */
  max-width: 1500px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border: 6px solid #ffb300;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(128,0,0,0.1);
  box-sizing: border-box;
  flex-wrap: nowrap;
  gap: 40px;
}

.piechart-container img {
  
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

/* === PIE CHART DESCRIPTION === */
.piechart-description {
  flex: 1 1 40%;              /* flexible side block */
  max-width: 480px;
  color: #800000;
  font-family: 'Zain', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  text-align: left;             /* left align for wide screens */
  padding: 0 10px;
  box-sizing: border-box;
}

.piechart-description p {
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .piechart-flex-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .piechart-description {
    text-align: center;
    max-width: 95%;
    padding: 0 20px;
  }
}



















/* === Footer === */


/* === Responsive === */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .contact-side {
    width: 100%;
    align-items: center;
  }
  .contact-form {
    width: 100%;
  }
  .contact-box {
    max-width: 90%;
  }
}


/* Footer */
/* Main footer styling — keeps your current look */
.main-footer {
  background-color: #800000;
  color: #ffffff;
  padding: 1px 10px;
  font-size: 0.95rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Tagline styling — already done */
.footer-right .tagline {
  font-style: italic;
  
  font-size: 2.5rem;
  color: #ffb300;
  margin: 0;
  text-align: right;
  font-family: 'Zain', Arial, sans-serif;
}

/* Bottom footer styling */
/* Footer container */
.bottom-footer {
  position: relative;           /* For layering background */
  
    
  color: #800000;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;      /* Align content to top */
  overflow: hidden;             /* Hide overflow from bg */
  font-family: 'Zain', Arial, sans-serif;
  min-height: 350px;            /* Adjust height as needed */
  
  
}

/* Background image container */
.bottom-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('Assets/SAA-Footer_photo\ .jpg') ;
  opacity: 1;                /* Adjust opacity for subtle effect */
  z-index: 0;
  pointer-events: none;         /* Allows clicks through bg */
  filter: brightness(0.7);      /* Optional: darken for better text contrast */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 40%;
  
}

/* Content containers positioned above background */
.bottom-footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;    /* stack links vertically */
  justify-content: flex-start;
  align-items: flex-start;   /* align items to the left */
  text-align: left;          /* text alignment */
}








.bottom-footer-left,
.map-container {
  position: relative;
  z-index: 1;
}

/* Footer links */
.bottom-footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.bottom-footer-left li {
  margin-bottom: 10px;
}

.bottom-footer-left a {
  color: #ffffff;
  margin-bottom: 10px;
  position: left;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  font-family: 'Zain', Arial, sans-serif;
  display: inline-block;
}


.bottom-footer-left a:hover::after {
  background-color: #ffffff;
}

/* Map container */
.map-container {
  flex: 1 1 400px;
  max-width: 400px;
  margin-right: 20px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .bottom-footer {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .map-container {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-top: 30px;
  }
}

/* Additional responsive fixes from your existing CSS */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    margin: 10px 0;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .icon-row {
    flex-direction: column;
    gap: 40px;
  }

  .icon-bubble {
    width: 100px;
    height: 100px;
  }

  .icon-bubble img {
    width: 40px;
    height: 40px;
  }

  .gallery-track img {
    height: 150px;
  }

  .achievement-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .achievement-item {
    width: 80%;
  }

  .contact-hero {
    padding: 40px 20px 60px;
  }

  .contact-box {
    position: static;
    margin: 20px auto;
  }
}
