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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fde4d2;
  color: #1f2a44;
}

/*header / nav */
.navbar {
  background: #a65a5a;
  padding: 18px 30px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline-block;
  margin-left: 22px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* =========================
   HERO SECTION
========================= */
.hero { 
  background: #5a1414; 
  color: #ffffff; 
  text-align: center; 
  padding: 90px 20px; 
}

.hero h1 {
  font-size: 28px;
}

.hero p {
  margin-top: 12px;
  font-size: 14px;
}

.hero-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 26px;
  background: #a65a5a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
}

.hero-btn:hover {
  opacity: 0.9;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 60px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 30px;
  font-size: 22px;
}

/* for cards*/

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: transparent;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.card-text {
  background: #f8f9fa; /* Light off-white for text box */
  padding: 20px;
  text-align: center;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}


.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.card p {
  font-size: 13px;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #a65a5a;
  color: #ffffff;
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

@media (max-width: 768px) {

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links li {
    display: block;
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 22px;
  }

  .card {
    width: 90%;
    margin: 0 auto 20px auto;
  }
}

/* --- ABOUT US PAGE --- */

.overview-section {
  position: relative;
  height: 450px;
  background: url('assets/images/about.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.overview-overlay-card {
  background: #fde4d2; 
  padding: 40px;
  max-width: 800px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.overview-overlay-card h2 {
  margin-bottom: 15px;
  color: #5a1414;
}

.mission-vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #FED3BA;
}

.info-card {
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.info-card h3 {
  color: #5a1414;
  margin-bottom: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-item {
  background: #e69d78; 
  padding: 25px 15px;
  border-radius: 6px;
  color: #1f2a44;
}

.value-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Bottom Why-Us Section */
.why-us-section {
    background: #5a1414;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.why-us-card {
    background: #fde4d2;
    padding: 40px;
    border-radius: 8px;
    max-width: 900px;
    text-align: center;
}

.why-us-card h3 {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
  .mission-vision-container, .values-grid {
    grid-template-columns: 1fr;
  }
  .overview-section {
    height: auto;
    padding: 60px 20px;
  }
}

/* --- PROGRAMS & SERVICES PAGE --- */

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-size: 15px;
  padding: 40px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  text-align: center;
}

.pill-image-container {
  width: 100%;
  height: 200px;
  border-radius: 70px; 
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pill-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.white-card {
  background: #ffffff;
  padding: 30px 15px;
  border-radius: 4px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.white-card h3 {
  font-size: 14px;
  color: #5a1414;
  line-height: 1.4;
  font-weight: bold;
}

.value-statement {
  color: #a65a5a;
  font-weight: bold;
  text-decoration: underline;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 80px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- NEWS & EVENTS PAGE --- */

.intro-text-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: #1f2a44;
  padding: 50px 20px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 25px;
  max-width: 1250px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.event-item {
  display: flex;
  flex-direction: column;
}

.event-image {
  width: 100%;
  height: 180px;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 15px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  flex-grow: 1;
  text-align: left;
  border-left: 4px solid #5a1414;
}

.event-date {
  font-size: 12px;
  font-weight: bold;
  color: #a65a5a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.event-details h3 {
  font-size: 15px;
  color: #5a1414;
  margin-bottom: 10px;
  line-height: 1.3;
}

.event-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CONTACT PAGE  --- */

.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  align-items: center;
  gap: 50px;
}

.contact-left {
  flex: 1;
}

.contact-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.input-group {
  margin-bottom: 15px;
}

.input-group input, 
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
}

.send-btn {
  background: #5a1414;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.send-btn:hover {
  background: #a65a5a;
}

.contact-details-footer {
  margin-top: 30px;
  font-size: 14px;
  color: #1f2a44;
  line-height: 1.8;
  text-align: center;
}

.circle-image-container {
  width: 450px;
  height: 450px;
  border-radius: 50%; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.circle-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 filter: grayscale(100%); 
}

.bottom-statement {
  text-align: center;
  padding: 40px 20px;
  color: #5a1414;
  font-style: italic;
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  
  .circle-image-container {
    width: 300px;
    height: 300px;
  }
}