
/*-----  Info Page*/
.info-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 60px; /* accounts for navbar */
}

.info-header-image {
  
  max-width: 100%;
  height: auto;
  max-height: 885px;
  object-fit: cover;
  margin-bottom: 0px;
  margin-top:60px;
}

/* Horizontal separator (pattern) */
.pattern-divider {
  width: 100%;
  height: 40px;
  background: url('../res/separater.png') no-repeat center;
  background-size: contain;
  margin: 150px 0;
}

/* Paragraph blocks */
.info-section {
  margin-bottom: 40px;
}

.info-section h2 {
  font-family: 'tariqafont', serif;
  color: #064632;
  font-size: 28px;
  margin-bottom: 15px;
  text-align: right;
}

.info-section p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  text-shadow: 0 0 5px rgba(6, 70, 50, 0.1);
}

/* Second paragraph with image */
.info-with-image {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.info-with-image img {
  width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.info-with-image .text {
  flex: 1;
  min-width: 280px;
}

/* Embedded YouTube video */
.info-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-top: 50px;
}

.info-video iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}







/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
.info-block {
    flex-direction: column;
  }
  .info-with-image {
    flex-direction: column;
    align-items: center;
    text-align: justify;

  }

  .info-with-image img {
    width: 100%;
    max-width: 400px;
  }
}  