@import url('https://fonts.googleapis.com/css?family=Joti+One|Overpass|Open+Sans');


    /* Reset & box sizing */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
  font-family: Joti One;
      line-height: 1.6;
      color: #333;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
    }

    header {
      text-align: center;
      padding: 2rem 0;
    }

    header h1 {
      font-size: 2.5rem;
    }

h2 {
  font-family: Overpass;
  font-size: 40px;
  color: #1f3c37;
  text-align: center;
}

h3 {
  font-family: Joti One;
  font-size: 40px;
  color: #1f3c37;
  text-align: center;
}

h4 {
  font-family: Overpass;
  font-size: 25px;
  color: #1f3c37;
  text-align: center;
}

h5 {
  font-family: Joti One;
  font-size: 25px;
  color: #1f3c37;
  text-align: center;
}

/* Mid accent colour */
p {
  font-family: Overpass;
  font-size: 20px;
  text-align: left;
  color: #22523c;
}

/* As for p */
ol, ul {
  font-family: Overpass;
  font-size: 20px;
  text-align: left;
  color: #22523c;
}

/* Other accent colour */
a. {
  font-family: Overpass;
  font-size: 20px;
  color: #577e6b;
}

 /* unvisited link; other accent colour */
a:link {
  font-family: Overpass;
  font-size: 20px;
  color: #09631d;
  font-weight: bold;
  text-decoration: underline;
}

/* visited link; black or grey */
a:visited {
  font-family: Overpass;
  font-size: 20px;
  color: #69480a;
  font-weight: bold;
  text-decoration: underline;
}

/* mouse over link; lighter accent colour */
a:hover {
  font-family: Overpass;
  font-size: 20px;
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
}

/* selected link; second to darkest accent colour */
a:active {
  font-family: Overpass;
  font-size: 17px;
  color: #529546;
  text-decoration: underline;
} 


    nav {
      margin: 1rem 0;
    }

    nav ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    nav ul li a {
      text-decoration: none;
      color: #333;
      padding: 0.5rem 1rem;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .hero {
      margin-bottom: 2rem;
    }

    .hero img {
      width: 100%;
      height: auto;
      display: block;
    }

/* Gallery Container */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Item */
.gallery-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Gallery Image */
.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Gallery Content */
.gallery-content {
    padding: 20px;
}

/* Gallery Title */
.gallery-title {
    color: #333;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    font-weight: bold;
}

/* Gallery Description */
.gallery-description {
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

/* Read More Link */
.read-more {
    display: inline-block;
    color: #e67e22; /* Orange color matching your site */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 2px solid #e67e22;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #e67e22;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .gallery-content {
        padding: 15px;
    }
    
    .gallery-title {
        font-size: 1.2rem;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .gallery {
        padding: 10px;
        gap: 15px;
    }
    
    .gallery-image {
        height: 160px;
    }
    
    .gallery-content {
        padding: 12px;
    }
    
    .read-more {
        width: 100%;
        text-align: center;
    }
}

/* Optional: Image with text on side layout */
@media (min-width: 992px) {
    .gallery-item {
        display: flex;
        min-height: 200px;
    }
    
    .gallery-link {
        flex: 0 0 250px;
    }
    
    .gallery-image {
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* For very large screens */
@media (min-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

    footer {
      text-align: center;
      padding: 2rem 0;
      border-top: 1px solid #ccc;
      margin-top: 2rem;
    }

    @media (max-width: 600px) {
      header h1 {
        font-size: 2rem;
      }
    }
  

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  align-items: start;  /* make items align to top of each cell */
  margin: 3rem 0;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.two-column .text-block {
  font-size: 1.2rem;
  line-height: 1.6;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.three-column-item {
  font-size: 1.1rem;
  line-height: 1.6;
}

.three-column-item img {
  width: 100%;
  border-radius: 8px; /* optional */
  display: block;
}

/* Mobile & tablet responsiveness */
@media (max-width: 900px) {
  .three-column {
    grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
  }
}
@media (max-width: 600px) {
  .three-column {
    grid-template-columns: 1fr; /* 1 column on phones */
  }
}


/* Mobile layout */
@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}


.orange-container {
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  background-color: #e7b62b; /* orange */
  padding: 4rem 0;           /* vertical spacing */
}

.orange-container .inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;            /* keeps the content centered */
  text-align: center;        /* optional - remove if you don’t want centered text */
}

.orange-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  align-items: center;
}

.orange-container p {
  font-size: 1.2rem;
  line-height: 1.6;
}


.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #266734;       /* thin border */
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #266734;
  color: #fff;
}

.endlogo {
  float:centre;
  padding:20px 20px 20px 20px;
  width:100px;
}


.background-image {
  position: relative;
  z-index: 1;
}


/* Blog Container */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.blog-content {
    font-size: 1.1rem;
}

/* Float Classes */
.float-left {
    float: left;
    margin: 10px 25px 15px 0;
    max-width: 45%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.float-right {
    float: right;
    margin: 10px 0 15px 25px;
    max-width: 45%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Clear floats to prevent layout issues */
.blog-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Adjust paragraph margins around floated images */
.blog-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Responsive Adjustments */

/* Tablet */
@media (max-width: 768px) {
    .float-left, .float-right {
        max-width: 40%;
        margin: 8px 20px 12px 0;
    }
    
    .float-right {
        margin: 8px 0 12px 20px;
    }
    
    .blog-post {
        padding: 15px;
    }
}

/* Mobile - Reduce float width */
@media (max-width: 600px) {
    .float-left, .float-right {
        max-width: 35%;
        margin: 6px 15px 10px 0;
    }
    
    .float-right {
        margin: 6px 0 10px 15px;
    }
    
    .blog-content p {
        text-align: left; /* Better for mobile */
    }
}

/* Small Mobile - Stack images */
@media (max-width: 480px) {
    .float-left, .float-right {
        float: none;
        display: block;
        max-width: 70%;
        margin: 20px auto;
    }
    
    .blog-content {
        text-align: center;
    }
    
    .blog-content p {
        text-align: left;
    }
}

/* Large Screens - Larger images */
@media (min-width: 1200px) {
    .float-left, .float-right {
        max-width: 300px; /* Fixed size on large screens */
    }
    
    .blog-post {
        max-width: 900px;
    }
}

/* Optional: Add spacing for better readability */
.blog-content p {
    overflow: hidden; /* Contains floats */
}

/* Optional: Add caption style */
.image-caption {
    display: block;
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}
