

/* Top Menu Bar */
.top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #D3D3D3;/* light gray */
  padding: 8px 40px;;
  font-size: 14px;
  position: fixed;       /* Keeps it on screen when scrolling */
  top: 0;                /* Sticks it to the top of the page */
  width: 100%;           /* Full width */
  height: 40px;          /* Adjust height */
  background-color: lightgray;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;    
  
}

/* Contact Info (Left Side) */
.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
}

.contact-info i {
  color: #000;
  font-size: 14px; /* small icon size */
}

/* Optional if you use your own icon images */
.small-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* Social Media Icons (Right Side) */
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff; /* Blue hover color */
}

/* If using your own icon images */
.social-img {
  width: 18px;
  height: 18px;
}

/* Responsive for small screens */
@media (max-width: 600px) {
  .top-menu {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .contact-info {
    margin-bottom: 8px;
  }
}

  .main-menu ul {
    flex-direction: column;
    align-items: center;
    margin: 0px;
  }

  .main-menu ul li {
    margin: 8px 0;
  }

#menu{

background-color: #898989;
    width:100%;
    height: 120px;
    position: fixed;
  z-index: 1000; /* keeps it above everything else */
 position: fixed;
  top: 0;             /* Pushed down by height of top menu */
  background-color: #898989;
  display: flex;
  z-index: 999;          /* Slightly below top menu */  
  
}
#menu ul{
    list-style: none;
    display: flex; 
    align-items:center ;
}
#menu ul li{
margin: 0 ;


}
#menu ul li a{
    text-decoration: none;
    color: lightgrey;
    padding: 20px;
font-size: x-large;
    font-weight: bold;
 margin-top: 45px;
    margin-bottom: 5px;
    margin-left: 5px;


}
#menu ul li img{
    width: 80px;
    height: 75px;
    margin-top: 25px;
    margin-bottom: 5px;
    margin-left: 5px;
}
#menu ul li a:hover{
    background-color: darkgray

}




















body,html{
    width: 100%;
    margin: 0;
    height: 400px;
    
}
body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f7f7f7;
      color: #333;
    }

    h1 {
      text-align: center;
      padding: 20px;
      background-color: #6ab9da;
      color: white;
      margin: 0;
    }

    .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 40px 20px;
      gap: 30px;
    }

    .card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      flex: 1 1 350px;
      max-width: 700px;
      padding: 20px;
      text-align: center;
      font-size: large;
      font-family: Arial, Helvetica, sans-serif;
    }

    .card h2 {
      color: #4a6fa5;
      margin-bottom: 15px;
    }

    .card img {
      width: 100%;
      max-width: 250px;
      height: auto;
      margin-bottom: 15px;
      border-radius: 8px;
    }

    .card p {
      font-size: px;
      line-height: 1;
      font-family: 'Times New Roman', Times, serif;
    }
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f7f7f7;
      color: black;
      line-height: 1.6;
    }

    h1 {
      text-align: center;
      background-color: lightgrey;
      color: black;
      margin: 0;
      padding: 20px;
      font-size: 28px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .section {
      max-width: 900px;
      margin: 40px auto;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      text-align: center;
    }

    .section h2 {
      color: black;
      margin-bottom: 15px;
      font-size: 24px;
    }

    .section p {
      font-size: 1.5 rem;
      text-align: justify;
    }

    /* Cards container */
    .cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      margin-left: 10px;
      margin-right: 10px;

    }

    .card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      width: 250px;
      padding: 20px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      width: 100%;
      max-width: 150px;
      height: auto;
      margin-bottom: 15px;
      border-radius: 8px;
    }

    .card h3 {
      color:  #2980b9;
      margin-bottom: 10px;
      font-size: 25px;
      padding: 20px;
    }
    .card p {
      font-size: 25px;
      line-height: 1.5;
    }
    body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}
.apostolates {
  width: 100%;
  margin: auto;
  padding: 20px;
  max-width: 1200px;
}
.apostolates h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
  color: black;
}
.apostolates h2 {
  text-align: center;
  color:#2980b9; 
  margin-bottom: 15px;
}
.apostolates .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-family: 'Times New Roman', Times, serif;
}
.section {
  margin-bottom: 50px;
}

.section h3 {
  color: #2980b9;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}


body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f7faff;
  color: #333;
}

/* Gradient background for Education section */
.education-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #cbe7ff 0%, #ffffff 100%);
}

/* Fade-in animation */
.fade-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s ease;
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Title and Intro */
.main-title {
  font-size: 2.5em;
  color: #0a5ea8;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.intro {
  font-size: 1.1em;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Schools layout */
.schools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* School box styling */
.school-box {
  background-color: white;
  width: 45%;
  min-width: 300px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  position: relative;
}

/* Glowing border (Light Blue + Gold) */
.school-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #5eb9ff, #f6c667, #5eb9ff);
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.school-box:hover::before {
  opacity: 1;
  animation: glowMove 4s linear infinite;
}

.school-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Box content */
.school-box h2 {
  background-color: #0a5ea8;
  color: white;
  padding: 15px;
  font-size: 1.3em;
}

.school-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.school-box:hover img {
  transform: scale(1.05);
}

.school-box p {
  padding: 20px;
  text-align: justify;
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

/* Glowing animation */
@keyframes glowMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive design */
@media (max-width: 768px) {
  .school-box {
    width: 100%;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5faff;
  color: #333;
}

.health-section {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(to bottom, #e0f7ff, #ffffff);
}

.health-section h1 {
  font-size: 2.5em;
  color: #0077b6;
  letter-spacing: 2px;
  animation: fadeInDown 1.5s ease;
}

.intro {
  max-width: 700px;
  margin: 10px auto 40px;
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

/* Flex container */
.health-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Each box */
.health-box {
  background: white;
  border-radius: 15px;
  width: 460px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 1.5s ease;
}

.health-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Image styling */
.health-box img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.health-box:hover img {
  transform: scale(1.05);
}

/* Text inside boxes */
.health-box h3 {
  color: #0077b6;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.health-box p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 900px) {
  .health-container {
    flex-direction: column;
    align-items: center;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f2f7fb;
  margin: 0;
  padding: 0;
}

.services-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom right, #e3f2fd, #bbdefb);
}

.main-title {
  font-size: 2.5rem;
  color: lightblue;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1.5s ease;
}

.description {
  color: #333;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  animation: fadeIn 2s ease;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.service-box {
  background: #ffffff;
  border-radius: 15px;
  width: 520px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.service-box:hover img {
  transform: scale(1.05);
}

.service-box h2 {
  color: #0d47a1;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Animation Effects */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Apply slide animations */
.slide-left {
  animation: slideInLeft 1.5s ease;
}

.slide-right {
  animation: slideInRight 1.5s ease;
}








