@charset "utf-8";

		
body	 {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", serif;
	
}

/* Header styling */   
.header {
  background-color: #6ea7dc;
  color: blue;
  align-content: center;
	
}

/* Flex container */ 
.header-content {
  display: flex;
  align-items: center;   /* Align logo and text vertically */
  gap: 20px;             /* Space between logo and text */
}

.logo {
  width: 140px;
  height: auto;
  align-items: center;
  padding: 15px 15px 15px 250px ;
  
}

.site-text {
  display: flex;
  flex-direction: column;   /* Stack title and subtitle vertically */
  text-align: left;         /* Align both to the left */
  line-height: 1.2;
}

.site-title {
  font-family:'Georgia', serif;
  font-size:6.5rem;
  margin:0;
  font-weight: bold;
  background:linear-gradient(45deg, #004080, #f5d27a);
 -webkit-background-clip: text;
  color: transparent;
  
}

.site-below {
  font-family:'Georgia', serif;
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  background:linear-gradient(45deg, #004080, #f5d27a);
 -webkit-background-clip: text;
  color: transparent;
}

/* ===== RESPONSIVE STYLES ===== */

/* For tablets and smaller laptops */
@media (max-width: 992px) {
  .site-title {
    font-size: 2.5rem;
  }

  .site-below {
    font-size: 1.2rem;
  }

  .logo {
    padding: 10px;
    width: 100px;
  }
}

/* For mobile devices */
@media (max-width: 600px) {
  .header-content {
    flex-direction: column; /* stack logo and text */
    align-items: center;
    text-align: center;
  }

  .site-text {
    align-items: center;
  }

  .site-title {
    font-size: 2rem;
  }

  .site-below {
    font-size: 1rem;
  }

  .logo {
    padding: 5px;
    width: 80px;
  }
}
/*===end of header===*/

/* ===== Navigation ===== */

.main-nav {
  background-color: #004080;
  color: white;
  align-content: center;
	
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0px;
}

.main-nav ul li {
  position: relative;
  font-size: 20px;
  padding: 0px 12px ;
}

.main-nav > ul > li {
  margin: 0.5rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  font-family: "Times New Roman";
  font-size: 20px;
  white-space: nowrap;
}

.main-nav ul li ul {
  display: none;
  position: absolute;
  background: #004080;
  min-width: 150px;
  z-index: 1000;
}

.main-nav ul li:hover > ul {
  display: block;
  background: #33b2df;
}

li:hover li { float: none; }
li:hover a { background: #00529b; }
li:hover li a:hover { background: #33b2df; }

.main-nav li ul li { border-top: 0; }
ul ul ul {
  left: 100%;
  top: 0;
}

ul:before, ul:after {
  content: " ";
  display: table;
}
ul:after { clear: both; }

.expand {
  font-size: 12px;
  float: right;
  margin-right: 5px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    display: none; /* hidden by default, toggled via JS */
    width: 100%;
  }

  .main-nav ul li {
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .main-nav ul li ul {
    position: static;
    width: 100%;
  }

  .main-nav li:hover > ul {
    display: block;
  }

  .menu-toggle {
    display: block;
    background: #004080;
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding: 0.8rem;
    cursor: pointer;
  }
}

/* Optional: Smooth dropdown for mobile */
.main-nav ul li ul li {
  border-top: 1px solid #00529b;
}
/*end of navigation*/
		
/* Main content about us */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
align-items: flex-start;
}

/* Gallery Section */
.gallery {
  flex: 1 1 300px;
  display: grid;
  grid-template-columns: '1fr 1fr'; /* Two columns for desktop */
  gap: 1rem;
}


.gallery img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
transition: transform 0.3s ease, box-shadow 0.3s ease;
	
} 

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  width: 100%;
  max-width: 1200px;
  margin: 20px;
  padding: .5rem;
}

.about h2,
.about h3 {
  margin-top: 1rem;
  color: #1f2d9a;
  font-family: "Berlin Sans FB";
  font-size: 40px;
  font-weight: lighter;
  text-align:justify;
  
}
		

p.MsoBodyText {
  margin: 0;
  line-height: 1.4;
  text-align: justify;
  font-family: 'Times New Roman', serif;
  font-size: 1.5rem;
  color: black;
  font-weight: lighter;
}

/* ====== RESPONSIVE DESIGN ====== */

/* ===== Tablet (≤992px) ===== */
@media (max-width: 992px) {
  .gallery {
    grid-template-columns: '1fr'; /* One column layout */
  }

  .gallery img {
    width: 90%;
    max-width: 350px;
  }

  .about h2,
  .about h3 {
    font-size: 1.8rem;
  }

  p.MsoBodyText {
    font-size: 1.1rem;
  }
}

/* ===== Mobile (≤600px) ===== */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .gallery {
    grid-template-columns: '1fr'; /* Stack images vertically */
  }

  .gallery img {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .about {
    padding: 0.5rem;
    margin: 10px;
  }

  .about h2,
  .about h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  p.MsoBodyText {
    font-size: 1rem;
  }
}

/* ===== Extra Small Devices (≤400px) ===== */
@media (max-width: 400px) {
  .about h2,
  .about h3 {
    font-size: 1.3rem;
  }

  p.MsoBodyText {
    font-size: 0.9rem;
  }
}
		
/*end of main content about us*/			
		
		
/* Main section adoration */
  .adomain {
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .image-adocolumn {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
	    }

  .image-adocolumn img {
    width: 100%;
	max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	margin: 0px 30px 0px 100px ;
    
		}

  .text-adocolumn {
    flex: 1 1 500px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: .05rem;
    border-radius: 10px;
    
    }

  .text-adocolumn h2 {
    text-align: center;
    font-size: 30px;
    color: blue;
    margin-bottom: 1rem;
  }

  .text-adocolumn p {
    margin-bottom: 2rem;
    text-align: justify;
	font-family:'Times New Roman';
	font-size:23px;
	line-height: 1.8;
  }

  .text-adocolumn p.adoscripture {
    font-family: 'Lucida Handwriting';
    text-align: center;
    color: darkslategray;
	font-weight: bold;
  }

  .text-adocolumn p.adoending {
    text-align: center;
    font-weight: bold;
	margin-top: .5rem;
	font-family: 'Lucida Handwriting';
	font-size: 25px;
	color: darkslategray;
	
  }	

/* Tablet */
@media (max-width: 992px) {
  .adomain {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .image-adocolumn,
  .text-adocolumn {
    flex: 1 1 100%;
  }

  .text-adocolumn p {
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .adomain {
    padding: 1rem;
    gap: 1.5rem;
  }

  .text-adocolumn h2 {
    font-size: 24px;
  }

  .text-adocolumn p {
    font-size: 18px;
  }
}

/* end of main content adoration */


/* Announcement section */
  .announcement {
      display: grid;
      grid-template-columns: repeat(3, '1fr');
      gap: 1rem;
      padding: 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .announcement img {
      width: 100%;
	  max-width: 600px;
      height: 400px;
	  object-fit: cover; /* Ensure image fits nicely */
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    /* Second row only has 2 images */
    .announcement .row-2 {
      grid-column: span 3;
      display: flex;
      justify-content: center;
      gap: 1rem;
    }

    .announcement .row-2 img {
      width: 48%;
    }

    /* Responsive adjustments */
@media (max-width: 1024px) {
  .announcement {
    grid-template-columns: repeat(2, '1fr');
  }

  .announcement .row-2 img {
    width: 48%;
  }
}

@media (max-width: 768px) {
  .announcement {
    grid-template-columns: '1fr'; /* Single column */
  }

  .announcement .row-2 {
    flex-direction: column;
    align-items: center;
  }

  .announcement .row-2 img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .announcement img {
    height: auto; /* Let image height adjust */
  }
}
/*=====end of announcement section===== */	

/* ====== MAIN CONTENT of BICENTENIAL ====== */


.content-bicensection {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex-wrap: wrap; /* allows stacking on smaller screens */
  box-sizing: border-box;
}

/*==text section==*/
.text-bicencontent {
  flex: 2 2 50%;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin: 0; /* Remove fixed margin to keep it centered */
}

/* ===== Image Styling ===== */
.content-bicensection img {
  flex: 1 1 50%;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  border: 3px solid #f5d27a;
  display: block;
  margin: 20px 0px;
 transition: transform 0.3s ease;	
}

/* Optional hover effect */
.content-bicensection img:hover {
  transform: scale(1.02);
}

/* ===== Quotation Box ===== */
 .bicenquote {
      max-width: 1000px;
      margin: 2rem auto ;
      font-style: italic;
      font-size: 1.3rem;
      text-align: center;
	  font-weight: 500;
      color: darkslategray;
      background: #f9f9f9;
      padding: 1rem 1.5rem;
      border-left: 5px solid #f5d27a;
      border-radius: 8px;
	  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	  box-sizing: border-box;
    }

/* ===== Responsive: Tablets (900px and below) ===== */
@media (max-width: 900px) {
  .content-bicensection {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-bicencontent {
    flex: 1 1 100%;
    text-align: justify;
    font-size: 1.05rem;
  }

  .content-bicensection img {
    flex: 1 1 100%;
    margin: 1rem 0;
    max-width: 90%;
  }

  .bicenquote {
    font-size: 1.15rem;
    padding: 1rem;
  }
}

/* ===== Responsive: Mobile (600px and below) ===== */
@media (max-width: 600px) {
  .text-bicencontent {
    font-size: 1rem;
    line-height: 1.5;
  }

  .content-bicensection img {
    max-width: 100%;
    border-radius: 6px;
  }

  .bicenquote {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* ===== Extra Small Screens: 400px and below ===== */
@media (max-width: 400px) {
  .text-bicencontent {
    font-size: 0.95rem;
  }

  .bicenquote {
    font-size: 0.95rem;
    padding: 0.6rem;
  }

  .content-bicensection img {
    margin: 0.5rem 0;
  }
}
	/*====End of bicentenial=====*/

/*====Main content Contact===== */		
		
.contact-container {
      max-width: 1200px;
      margin: auto;
      display: grid;
      grid-template-columns: '1fr 1fr';
      gap: 10px;
      align-items: start;
      padding: 1rem;
    }

    .contact-info {
      background: rgba(255, 255, 255, 0.9);
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .contact-info img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      margin-bottom: 15px;
		
    }

    .contact-info p {
      margin: 0;
      font-size: 1rem;
      line-height: 1.5;
    }

    iframe {
      width: 100%;
      height: 100%;
      min-height: 300px;
      border: none;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	  margin-top: 10px;
}

   /* Tablet */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: '1fr'; /* stack columns on tablets */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .contact-info {
    padding: 15px;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  iframe {
    min-height: 250px;
  }
}
/* end of contact section */
		
		
   /* EPG COMMUNIT Y*/
section.epg-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    h1 {
      text-align: center;
      color: #1e3f66; /* Marian Blue */
	  margin-top: auto;
      margin-bottom: 40px;
      font-size: 2rem;
      font-weight: 700;
		
    }

    /* Images Section */
    .epg-images {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-bottom: 50px;
    }

    .epg-images img {
      width: 100%;
      max-width: 350px;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      object-fit: cover;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 3px solid #f5d27a; /* Soft Gold */
    }

    .epg-images img:hover {
      transform: scale(1.03);
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

    /* Text Section */
    .epg-text {
      background: #ffffff;
      border-radius: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.1);
      padding: 50px 35px;
      text-align: justify;
	  border-left: 8px solid #f5d27a; /* Soft Gold accent */
    }

    .epg-text p {
      margin-bottom: 1.8em;
      font-size: 1.5rem;
      color: #1e3f66;
	 font-family: "Times New Roman", "serif";
    }

    .epg-text p:last-child {
      text-align: center;
      font-weight: bold;
      color: #d4a23c; /* Gold emphasis */
      font-size: 1.5rem;
		font-family: "Lucida Handwriting";
    }

    em {
      color: #d4a23c; /* Gold emphasis for inspirational text */
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .epg-images {
        gap: 20px;
      }
    }

    @media (max-width: 768px) {
      section.epg-container {
        padding: 40px 15px;
      }

      h1 {
        font-size: 1.8rem;
      }

      .epg-text {
        padding: 30px 20px;
      }

      .epg-text p {
        font-size: 0.95rem;
      }
    }

    @media (max-width: 480px) {
      h1 {
        font-size: 1.5rem;
      }

      .epg-images img {
        max-width: 100%;
      }

      .epg-text {
        padding: 20px 15px;
      }

      .epg-text p {
        font-size: 0.9rem;
      }
    }				
/* end of epg section */
		
/*======last day of Donbosco life=====*/		
     .lastcontainer {
        max-width: 1400px;
        margin: 0 auto;
		 padding: 50px 20px; /* Added horizontal padding for smaller screens */

		}
		
	 .image-lastcontainer {
        text-align : center;
		background: #ffffff;
       
	 }
		
   .image-lastcontainer img {
        width: 100%;
	    max-width: 600px;
        height: auto;
        border-radius: 14px;
	    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
	    padding: 20px;
	    border: 3px solid #f5d27a; /* Soft Gold */
      }
		
		
		
	 .lastdate {
        text-align: center;
        font-size: 3rem;
        font-weight: bolder;
        margin-bottom: 30px;
        color: #555;
		padding-top: 30px;
    }

    .lastcontent {
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 14px;
        padding: 20px;
        border-left: 8px solid #f5d27a; /* Soft Gold accent */
		}
		
    

    .lastcontent p {
        text-align: justify;
        margin-bottom: 20px;
		font-family: "Times New Roman", "serif";
		font-size: 20px;
}

   /* Tablet & medium screens */
@media (max-width: 1024px) {
    .lastdate {
        font-size: 2.5rem;
    }

    .lastcontent p {
        font-size: 18px;
    }

    .image-lastcontainer img {
        max-width: 500px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .lastcontainer {
        padding: 30px 15px;
    }

    .lastdate {
        font-size: 2rem;
        padding-top: 20px;
    }

    .lastcontent {
        padding: 15px;
        border-left-width: 5px;
    }

    .lastcontent p {
        font-size: 16px;
    }

    .image-lastcontainer img {
        max-width: 100%;
        padding-left: 0;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .lastdate {
        font-size: 1.8rem;
    }

    .lastcontent p {
        font-size: 15px;
    }

    .lastcontainer {
        padding: 20px 10px;
    }
}
/*======end of last day of Donbosco=====*/		

 /* ===== Don Bosco life Styles ===== */
		
  .gif-lifegallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 150px ;
    padding: 1rem;
    background-color: #f9f9f9;  
	transition: all 0.3s ease;  
  }

  .gif-lifegallery img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);  
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}
		
.gif-lifegallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}		
 
		/* Text section */
  .lifecontent {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 30px; 
  line-height: 1.7; 
  font-family: 'Segoe UI', Arial, sans-serif; 
  font-size: 18px; 
  color: #333; 
  text-align: justify;
  
	}
  
	.lifecontent h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 28px;
}
	
		

  .lifecontent p {
    text-align: justify;
    margin: 5px 0;
	margin-top: auto;
	font-family:  "Times New Roman", "serif";
    font-size: 20px;
	background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    padding: 20px 35px;
    border-left: 8px solid #f5d27a; /* Soft Gold accent */
    }



.lifecontent strong {
  color: darkslategray;
		}
	

.lifecontent em {
  color: darkgoldenrod;
  font-family: "Lucida Handwriting";
  font-weight: 700;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .gif-lifegallery {
        margin: 20px 50px;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .gif-lifegallery {
        margin: 20px 30px;
        gap: 20px;
    }
    .lifecontent {
        font-size: 17px;
        padding: 20px;
    }
    .lifecontent h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .gif-lifegallery {
        margin: 20px 15px;
        gap: 15px;
    }
    .gif-lifegallery img {
        width: 80%;
        max-width: 400px;
    }
    .lifecontent {
        font-size: 16px;
        padding: 15px;
    }
    .lifecontent h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .gif-lifegallery {
        gap: 10px;
        margin: 15px 5px;
    }
    .gif-lifegallery img {
        width: 100%;
    }
    .lifecontent h2 {
        font-size: 22px;
    }
    .lifecontent p {
        font-size: 16px;
        padding: 15px 20px;
    }
}
	/* end of main content Don Bosco life style*/
				
		
		
/* Main content of mass services */
	.reminder { 
    background: #fff;
    color: blue;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem; /* scalable font */
    padding: 1.2rem 1rem;
    margin: 1.25rem auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 700px;
    width: 90%;
    box-sizing: border-box;
}
		
/* Schedule Table */
table.schedule-table {
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 20px auto 40px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

  .schedule-table th,
  .schedule-table td {
    border: 2px solid #000;
    padding: 12px;
    text-align: center;
    font-size: 18px;
  }

/* Header style */
  .schedule-table th {
    background: #ddd;
  }

/* Highlight row */
  .highlight {
    background: #9f9f9f;
    color: #fff;
    font-weight: bold;
  }

/* ===== Responsive for tablets and small devices ===== */
@media (max-width: 1024px) {
    .reminder {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 10px;
        font-size: 0.95rem;
    }
}

/* ===== Mobile stacking ===== */
@media (max-width: 600px) {
    .reminder {
        font-size: 1rem;
        padding: 0.8rem;
        margin: 1rem auto 0 auto;
    }

    .schedule-table {
        border: 0;
        width: 95%;
        margin: 15px auto;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 10px;
        background: #F5EFEF;
    }

    .schedule-table td {
        display: block;
        text-align: left;
        padding: 8px 10px;
        font-size: 0.9rem;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .schedule-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #333;
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }
}
		/* end of mass service */
		
		
/* newsletter tables */	
		
h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    /* Desktop table layout */
    .calendar {
  width: 100%;
  max-width: 800px;
  margin: 50px auto 100px auto;
  border-collapse: collapse;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .calendar th, .calendar td {
      border: 1px solid #000;
      padding: 12px;
      text-align: center;
    }

    .calendar th {
      background: #7fd3df;
      font-size: 1.5rem;
      font-weight: bold;
    }

    .calendar td {
      background: #ccc;
      font-size: 1.1rem;
      font-weight: bold;
		
    }

    .calendar a {
      color: #000;
      text-decoration: none;
    }

    .calendar a:hover {
      text-decoration: underline;
      color: #005577;
    }


/* Tablet layout */
@media (max-width: 1024px) {
  .calendar th {
    font-size: 1.3rem;
  }

  .calendar td {
    font-size: 1rem;
    padding: 10px;
  }
}


    /* Mobile layout: cards */
@media (max-width: 700px) {
  .calendar {
    display: none; /* hide table on small screens */
  }

  .calendar-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, '1fr'));
    gap: 15px;
    max-width: 95%;
    margin: 20px auto;
  }

  .card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  }

  .card h3 {
    margin: 0 0 10px;
    background: #7fd3df;
    padding: 8px;
    border-radius: 6px;
    font-size: 1.2rem;
  }

  .card a {
    display: block;
    margin: 5px 0;
    padding: 8px;
    background: #ccc;
    border-radius: 6px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .card a:hover {
    background: #bbb;
    color: #005577;
  }
}
/* end of newsletter tables */
		
/* Main section Priest */
  .main {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: flex-start;
  padding: 40px 20px 20px ;
  gap: 100px;
  max-width:1400px;
  margin: 0;
  }

/* Priest info */
  .priest-info {
    text-align: center;
    flex: 1 1 400px;
    max-width: 500px;
    margin: 0;
  }

  .priest-info img {
    width: 100%;
    max-width: 500px; /* ensures it doesn't get too large */
    height: auto; /* responsive height */
    border-radius: 12px;
	border: 3px solid #f5d27a; /* Soft Gold border */ 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}
	  
	 .priest-info img:hover {
      transform: scale(1.03);
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
		}


  .priest-info h2 {
    font-size: 1.5rem;
    color: #00008B;
    margin: 40px 0 10px ;
    font-weight: 600;
  }


  /* Text content */
  .text-content {
    flex: 1 1 700px;
    max-width: 800px;
    padding: 0;
    text-align: justify;
}

  .text-content h1 {
    ffont-size: 2rem;
    color: #00008B;
    margin-bottom: 30px;
    text-align: left;
  }

  .text-content p {
  font-size: 1.45rem;
  line-height: 1.8;
  margin-bottom: 0;
	
  }
.paragraph {
  width: 100%;
  max-width: 1400px;
  margin: 5px auto ;
  padding: 0 2rem;
  font-size: 1.45rem;
  line-height: 1.7;
  text-align: justify;
  font-weight: 500;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large screens (desktops, laptops) */
@media (max-width: 1200px) {
  .main {
    gap: 30px;
  }
  .text-content h1 {
    font-size: 1.8rem;
  }
  .text-content p,
  .paragraph {
    font-size: 1.15rem;
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .main {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    gap: 25px;
  }

  .text-content {
    max-width: 100%;
    text-align: justify;
  }

  .text-content h1 {
    font-size: 1.7rem;
    text-align: center;
  }

  .text-content p {
    font-size: 1.1rem;
  }

  .priest-info h2 {
    font-size: 1.3rem;
  }

  .paragraph {
    font-size: 1.1rem;
    padding: 0 1.5rem;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .main {
    padding: 20px 10px;
    gap: 20px;
  }

  .main img {
    max-width: 100%;
    border-radius: 10px;
  }

  .text-content h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .text-content p {
    font-size: 1rem;
  }

  .priest-info h2 {
    font-size: 1.1rem;
  }

  .paragraph {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Extra small devices (very small phones) */
@media (max-width: 400px) {
  .text-content h1 {
    font-size: 1.3rem;
  }

  .text-content p,
  .paragraph {
    font-size: 0.95rem;
  }

  .priest-info h2 {
    font-size: 1rem;
  }
}
	/* end of main content priest */
		
/* ===== Footer Container ===== */
.footer-container { 
  background: #004080;
  color: #fff;
  padding: 1rem 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}


/* ===== Footer Info ===== */
.footer-info {
  flex: 1 1 30%;
  font-size: 1.5rem;
  line-height: 1;
  padding: 1rem 2rem;
}

.footer-info a {
  color: #f5d27a;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* ===== Social Section ===== */
.footer-social {
  flex: 1 1 30%;
  text-align: center;
  padding: 1rem 2rem;
}
.footer-social p {
  margin: 20px 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #f5d27a;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ===== Responsive: Laptop/Tablet (max-width: 900px) ===== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 2rem;
  }

  .footer-info, .footer-social {
    flex: 1 1 100%;
    padding: 1rem 0;
  }

  .footer-info {
    font-size: 1.2rem;
  }

  .social-icons img {
    width: 45px;
    height: 45px;
  }
}

/* ===== Responsive: Mobile (max-width: 600px) ===== */
@media (max-width: 600px) {
  .footer-container {
    padding: 1.5rem 1rem;
  }

  .footer-info {
    font-size: 1rem;
    line-height: 1.3;
    padding: 0.5rem 0;
  }

  .footer-social p {
    font-size: 1.2rem;
    margin: 15px 0;
  }

  .social-icons img {
    width: 35px;
    height: 35px;
  }
}