/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

.login-button {
  padding: 8px 20px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #0052a3;
}
/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.title{
  color: black;
  font-size: 40px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.school-logo, .stmarys-logo {
  margin-right: 10px;
  height: 50px;
}

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

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "|";
  margin-left: 20px;
  color: #ccc;
}

nav ul li:last-child a::after {
  content: "";
}

.ddp-logo img {
  height: 50px;
}

.introbutton{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: black;
  font-size: 20px;
  margin-top: 20px;
  border: grey solid 2px;
    border-radius: 10px;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right:20px;
  text-decoration: none;
  }

  .introbutton:hover{
    text-decoration: underline;
  background-color: #c6c4c4;
  padding-bottom: 10px;
  padding-top: 10px;
  }
  .introbutton:active{
  background-color: #514e4e;
  padding-bottom: 10px;
  padding-top: 10px;
  }

.ddp-logo{
  align-content: right;
}

/* Section styles */
section {
  padding: 40px 20px;
  text-align: center;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

h2 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
}

.underline {
  width: 100px;
  height: 2px;
  background-color: #000;
  margin: 0 auto 20px;
}

/* Intro section */
.intro {
  padding-bottom: 30px;
}

.school-logos {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.round-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 20px;
}

.intro p {
  max-width: 600px;
  margin: 10px auto;
}

.text{
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 18px;
}

/* Pillars section */
.pillars {
  background-color: #f5f5f5;
}

.pillar-items {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-item {
  margin: 0 10px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: 500;
}

.pillar-images {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.pillar-image {
  margin-top: 25px;
  margin-bottom: 5px;
  width: 100%;
  height: 140px;
  background-color: #666;
  flex: 1;
}
.container {
  display: flex;
  gap: 20px;
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}
.column {
  width: 25%;
  padding: 20px;
  text-align: center;
  background-image: url('image/pillar.png'); /* Change 'pillar.png' to your image */
  background-size: cover;
  background-position: center;
  height: 300px; /* Adjust based on your pillar image */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: cursive;
  color: black;
  font-weight: bold;
}

.pillartext {
  text-decoration: none;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: black;
}


.pillarbutton{
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
color: black;
font-size: 20px;
border: black solid 1px;
  border-radius: 8px;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 10px;
text-decoration: none;
}
.pillarbutton:hover{
  text-decoration: underline;
background-color: #868181;
padding-bottom: 5px;
padding-top: 5px;
}
.pillarbutton:active{
background-color: #514e4e;
padding-bottom: 5px;
padding-top: 5px;
}

.pillartitle{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
 font-weight: 400;
  font-style: normal;
  color: #000000;
  font-size: 60px;
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 15px;
  border-radius: 10px;
}


/* News section */
.news-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.news-item {
  width: 30%;
  min-width: 250px;
}

.news-image {
  width: 100%;
  max-height: 300px;
  margin-bottom: 15px;
}

.landscape {
  background: linear-gradient(to bottom, #87CEEB 50%, #8FBC8F 50%);
}

.sky {
  background-color: #87CEEB;
}

.news-item h3 {
  font-size: 16px;
  font-weight: 500;
  padding: 0 10px;
}

.center-news {
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
  padding: 0 20px;
}

.titlelink { 
  color: black;
  font-size: 40px;
  text-decoration: none;
}
.titlelink:hover {
  color: #666;
  text-decoration: underline;
}

.textlink {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 18px;
  text-decoration: none;
}
.textlink:hover {
  color: #666;
  text-decoration: underline;
}
/* Footer styles */
footer {
  background-color: #444;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  max-height: 125px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .pillar-items, .pillar-images {
    flex-direction: column;
    align-items: center;
  }
  
  .pillar-image {
    height: 150px;
    margin-bottom: 10px;
  }
  
  .news-container {
    flex-direction: column;
    align-items: center;
  }
  
  .news-item {
    width: 90%;
    margin-bottom: 30px;
  }
  
  .center-news {
    border: none;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
  }
}


/* Article page specific styles */
.article-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

article h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: left;
}

.article-meta {
  margin-bottom: 30px;
}

.date, .journalist {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #666;
  margin: 5px 0;
}

.article-image {
  margin-bottom: 30px;
}

.article-image img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.image-caption {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.article-content {
  line-height: 1.8;
}

.paragraph {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 20px;
  margin-bottom: 25px;
  text-align: left;
}

/* Footer additions */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section {
  text-align: right;
  color: white;
}

.contact-section h3 {
  margin-bottom: 10px;
}

.footer-nav {
  margin: 20px 0;
}

.footer-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: white;
  color: #444;
  text-decoration: none;
  border-radius: 20px;
  margin: 0 5px;
  font-weight: 500;
}

.footer-button:hover {
  background-color: #f5f5f5;
}

.social-icons {
  margin-top: 15px;
}

.social-icon {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

.social-icon:first-child {
  margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-section {
    text-align: center;
    margin-top: 20px;
  }

  .article-container {
    padding: 0 15px;
  }

  article h1 {
    font-size: 28px;
  }
}

/* Content Blocks */
.content-blocks {
  margin: 60px 0;
}

.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background: #f5f5f5;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.block-image {
  flex: 1;
  height: 400px;
}

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

.block-text {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 20px;
  flex: 1;
  padding: 40px;
  text-align: center;
}

.block-title {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 28px;
  margin-bottom: 15px;
}

.block-intro {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more {
  font-family: "Markazi Text", serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: 20px;
  display: inline-block;
  padding: 12px 24px;
  background: #666;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.learn-more:hover {
  background: #555;
}

/* Footer additions */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section {
  text-align: right;
  color: white;
}

.contact-section h3 {
  margin-bottom: 10px;
}

.footer-nav {
  margin: 20px 0;
}

.footer-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: white;
  color: #444;
  text-decoration: none;
  border-radius: 20px;
  margin: 0 5px;
  font-weight: 500;
}

.social-icons {
  margin-top: 15px;
}

.social-icon {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}
.social-icon:first-child {
  margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-section {
    text-align: center;
    margin-top: 20px;
  }

  .article-container {
    padding: 0 15px;
  }

  article h1 {
    font-size: 28px;
  }

  .content-block,
  .content-block.reverse {
    flex-direction: column;
  }

  .block-image {
    height: 300px;
  }

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