@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #F0EDE3;
}

*{
    text-decoration: none;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px 40px 24px 40px;
  background: #F0EDE3;
}

.header h1 {
  flex: 1;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2em;
  font-weight: 700;
  color: #333333;
  margin: 0;
}


/* Hero Section */
.hero-section{
    position: relative;
    height: 400px; 
    overflow: hidden;
    margin-top: 10px;
}

.hero-section img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}
.hero-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.hero-text h1{
    font-size: 66px;
    margin: 0;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    white-space: nowrap;
}
.hero-text p{
    font-size: 20px;
    margin: 10px 0 0;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Mission Section */
.mission{
    padding: 40px;
    text-align: center;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.mission h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
} 
.mission p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/*Patron Section */
.patron {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.patron h2{
    text-align: center; 
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.patron p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}


.patron img {
  width: 220px;            /* More balanced size */
  height: 220px;
  float: left;
  margin-left: 40px;
  margin-right: 30px;      /* Adds space between image and text */
  border-radius: 20px;     /* Rounded corners */
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); /* Soft shadow */
  object-fit: cover;       /* Ensures image fills area nicely */
  border: 4px solid #F0EDE3; /* Subtle border matching background */
  transition: transform 0.3s;
}
.patron img:hover {
  transform: scale(1.05);  /* Slight zoom on hover */
}

/*Activities Section */

.activities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 0 auto;
    max-width: 900px;
    padding: 20px 0;
}

.activities-list > div {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.activities-heading{
    text-align: center; 
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

/* Upcoming Activities Section */
.upcoming-activites {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 60px;
}
.upcoming-activites h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}
.upcoming-activites p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* Join */
.join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 60px;
}
.join h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}
.join p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* Executive Section */
.executive {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

.profile-card{
  margin: 30px 0px 30px 0;;
}

.profile-card img {
  width: 220px;            /* More balanced size */
  height: 220px;
  margin-left: 40px;
  margin-right: 30px;      /* Adds space between image and text */
  border-radius: 20px;     /* Rounded corners */
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); /* Soft shadow */
  object-fit: cover;       /* Ensures image fills area nicely */
  border: 4px solid #F0EDE3; /* Subtle border matching background */
  transition: transform 0.3s;
}
.profile-card img:hover {
  transform: scale(1.05);  /* Slight zoom on hover */
}
.executive h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}
.executive p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* Gallery Slider */
.gallery {
    margin-top: 60px;
    text-align: center;
}

.gallery h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}
.gallery p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* JP Images Slider */
.jp{
  margin-top: 60px;
}
.jp-images .slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.jp-images .slides {
  display: flex;
  transition: transform 0.5s ease;
}

.jp-images .slides img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.jp-images .prev, .jp-images .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 1;
}

.jp-images .prev {
  left: 10px;
}

.jp-images .next {
  right: 10px;
}

.jp-images .prev:hover, .jp-images .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.Contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

.Contact i {
  color: #333;
  margin-right: 8px;
  font-size: 1.5em;
  vertical-align: middle;
}

.Contact h2{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.Contact p{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* Footer Section */
.footer {
  text-align: center;
  padding: 16px 0;
  background: #333333;
  color: #F0EDE3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  margin-top: 40px;
}

/*media queries */
@media (max-width: 800px) {
  .header {
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
  }

  .header h1 {
    font-size: 1.4em;
    text-align: center;
  }

  .hero-section {
    height: 220px;
  }
  .hero-text h1 {
    font-size: 32px;
    white-space: normal;
  }
  .hero-text p {
    font-size: 16px;
  }

  .mission {
    padding: 20px;
    margin: 10px;
  }
  .mission h2 {
    font-size: 24px;
  }
  .mission p {
    font-size: 16px;
  }

  .patron {
    height: auto;
    padding: 20px 0;
  }
  .patron h2 {
    font-size: 24px;
  }
  .patron img {
    width: 140px;
    height: 140px;
    margin-left: 0;
    margin-right: 0;
    float: none;
    display: block;
    margin-bottom: 16px;
  }
  .patron p {
    font-size: 16px;
    text-align: center;
  }

  .executive {
    margin-top: 20px;
    padding: 20px 0;
  }

  .profile-card {
    margin: 20px 0;
  }

  .profile-card img {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    float: none;
    display: block;
    margin-bottom: 16px;
  }

  .executive h2 {
    font-size: 24px;
  }

  .executive p {
    font-size: 16px;
    text-align: center;
  }

  .gallery h2 {
    font-size: 24px;
  }

  .gallery p {
    font-size: 16px;
    text-align: center;
  }

  .joyful-praise h2 {
    font-size: 24px;
  }

  .activities-list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    padding: 10px 0;
  }
  .activities-list > div {
    padding: 16px;
  }
  .activities-heading {
    font-size: 24px;
  }

  .upcoming-activites h2,
  .join h2 {
    font-size: 24px;
  }
  .upcoming-activites p,
  .join p {
    font-size: 16px;
  }
  .upcoming-activites img {
    max-width: 90vw;
    height: auto;
  }

  .slider {
    max-width: 90%;
  }
  .prev, .next {
    padding: 8px;
    font-size: 16px;
  }

  .jp-images .slider {
    max-width: 90%;
  }
  .jp-images .prev, .jp-images .next {
    padding: 8px;
    font-size: 16px;
  }
}