/* Billboard image with overlay text */
    .billboard {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
.billboard img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center center; /* <-- center the crop */
}
    .billboard .overlay {
      position: absolute;
      right: 24px;
      bottom: 24px;
      background: rgba(0,0,0,0.48);
      color: #fff;
      padding: 12px 18px;
      border-radius: 6px;
      max-width: 45%;
      text-align: right;
      font-size: 16px;
    }
    @media (max-width: 768px) {
      .billboard .overlay {
        right: 12px;
        bottom: 12px;
        max-width: 80%;
        font-size: 14px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
      }
    }
    @media (min-width: 1200px) {
  .billboard img {
    max-height: 600px;
  }
}
@media (min-width: 1024px) {
  .billboard img {
    object-fit: contain;
    max-height: 520px;
    background: #FAF9F6; /* optional letterbox look */
  }
}

    /* Slight refinements for the about section */
    #about .lead {
      font-size: 18px;
      line-height: 1.6;
    }
    .jumbotron {
      margin-bottom: 0;
    }
    /* small tweak to ensure the logo in the navbar sits nicely */
    .navbar-brand-fix { padding-left: 6px; }
      /* Fade-in animation */
    .billboard .overlay {
      opacity: 0;
      animation: fadeIn 1.6s ease forwards;
      animation-delay: 0.4s;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
/* ===== BASE RESET ===== */
body {
  font-family: 'Lato', sans-serif;
  padding-top: 130px; /* keeps content below fixed navbar */
  background-color: #FAF9F6;
  color: #003B46;
  overflow-x: hidden;
}

/* ===== NAVBAR STYLING ===== */
.custom-navbar {
  background-color: #708D81 !important;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1030 !important; /* below modal */
}

.custom-navbar .navbar-brand {
  color: #FAF9F6 !important;
  font-weight: 600;
  font-size: 1.1rem;
}

.custom-navbar .navbar-brand img {
  transition: transform 0.2s ease;
}

.custom-navbar .navbar-brand:hover img {
  transform: scale(1.05);
}

.custom-navbar .nav-link {
  color: #FAF9F6 !important;
  font-weight: 500;
  margin: 0 5px;
  transition: color 0.2s ease;
}

.custom-navbar .nav-link:hover {
  color: salmon !important;
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30'
  xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,59,70,1%29'
  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'
  d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  color:#FAF9F6;
}
 
 }
/* Center brand on mobile */
@media (max-width: 991px) {
  .navbar-brand {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-toggler {
    position: absolute;
    right: 15px;
    top: 10px;
  }

  .navbar-collapse {
    background-color: #708D81;
    border-top: 1px solid #ddd;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

/* ===== HERO / JUMBOTRON ===== */
.jumbotron {
  margin-top: 130px !important; /* prevents overlap with header */
  padding-top: 30px !important;
  text-align: center;
  background-color: transparent;
}

.jumbotron h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

/* ===== BLOG AREA ===== */
.container h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.list-group-item {
  cursor: pointer;
}

/* ===== MODAL FIXES ===== */

/* Correct stacking order */
.modal-backdrop {
  z-index: 1040 !important;
  opacity: 0.85 !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.modal {
  z-index: 1050 !important;
}

/* Remove hard margins & adjust scroll */
.modal-dialog {
  margin: 1.75rem auto;
}

.modal-content {
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Scroll behavior */
.modal-dialog-scrollable .modal-body {
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
  padding-bottom: 80px; /* ensures comments area visible */
}

/* Smooth animation */
.modal.fade .modal-dialog {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

/* ===== FOOTER ===== */
footer {
  background-color: #708D81;
  border-top: 1px solid #ddd;
  padding: 40px 0;
}

.footerH5 {
  font-weight: 600;
  color: #FAF9F6;
}

footer a {
  color: #FAF9F6;
  text-decoration: none;
}

footer a:hover {
  color: salmon;
  text-decoration: underline;
}

/* Social icons */
.social-icons a {
  color: #708D81;
  font-size: 1.4rem;
  margin: 0 10px;
}

.social-icons a:hover {
  color: salmon;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
  .modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 100px) !important;
    padding-bottom: 100px;
  }
  .footerH5 {
    margin-top: 1.5rem;
  }
}
:root{
      --bg:#FAF9F6;
      --teal:#2a9d8f;
      --accent:#d4a373;
      --muted:#6c757d;
      --card-bg:#ffffff;
    }
    body{background:var(--bg);font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#222}
    .container.landscape{max-width:1300px}
    header.site-header{padding:1rem 0}
    .site-title{font-weight:700;color:var(--teal)}
    .lead-intro{color:var(--muted);margin-bottom:1rem}

    /* Layout */
    .main-wrap{display:flex;gap:1.5rem;align-items:flex-start}
    main.content{flex:1}
    aside.sidebar{width:320px}

    /* Cards */
    .card img{height:220px;object-fit:cover}
    .card-body p{margin-bottom:.5rem}

    /* Sidebar sections */
    .sidebar .section-title{font-size:0.95rem;font-weight:700;margin-bottom:.5rem;color:#333}
    .recent-list img{width:64px;height:48px;object-fit:cover;border-radius:4px}

    /* Modal content scroll */
    .modal-body img{max-width:100%;height:auto;margin-bottom:1rem}

    /* Small screens: stack */
    @media (max-width:991px){
      .main-wrap{flex-direction:column}
      aside.sidebar{width:100%}
      .card img{height:180px}
    }
    .btn-grn{
      background-color:#708D81;
    }
    .slideanim {visibility:hidden;}
    .slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 2s;
    -webkit-animation-duration: 2s;
    visibility: visible;
    }
    .blog-img {
  width: 100%;
  max-width: 600px;   /* controls how wide the image can get */
  height: auto;
  display: block;
  margin: 20px auto;  /* centers the image */
  border-radius: 8px; /* optional */
}
     .modal img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}
  

