*{
    box-sizing:border-box;
}
a {
  color: purple;
}
.bg-grey {
  background-color: #ddd;
}
#forAdding {
  display: grid;
  grid-template-columns: auto auto;
}
.latest-p {
  margin: 2rem 0rem 2rem 0;
  font-size: 4rem;
  font-family: "Smooch Sans", sans-serif;
}
.post {
  background-color: aliceblue;
  padding: 1rem;
  width: 30rem;
  border: 0.6rem solid purple;
  margin: 2rem;
  box-shadow: 3px 3px 8px #555;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
}
.bg-purple {
  background-color: purple;
  border-radius: 5px;
  box-shadow: inset 2px 2px 4px black;
  box-shadow: inset -1px -1px 4px blueviolet;
  color: aliceblue;
  transition: 0.5s;
}
.bg-purple:hover {
  background-color: aliceblue;
  color: purple;
  text-decoration: none;
}
.post-header {
  font-size: 3rem;
  font-family: "Smooch Sans", sans-serif;
  color: black;
  transition: 0.5s;
}
.post-header:hover {
  color: purple;
  text-decoration: none;
}
.post-link {
  text-decoration: none;
}
.post-image {
  width: 100%;
  height: 20rem; 
}
.post-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.navBrand {
  font-family: "Smooch Sans", sans-serif;
  margin: 0.5rem 0 0.5rem 0;
  text-decoration: none;
}
.navbar,
.footer {
  background-color: purple;
}
.nav-links {
  font-size: 1.5rem;
  font-family: "Smooch Sans", sans-serif;
}
.pagin-active {
  background-color: purple;
  color: aliceblue;
  font-family: "Smooch Sans", sans-serif;
}
.pagin-not-active {
  background-color: aliceblue;
  color: purple;
  font-family: "Smooch Sans", sans-serif;
}
@media screen and (max-width: 1028px) {
  #forAdding {
    width: 100vw;
    grid-template-columns: auto;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  .post {
    width: 90%;
    /* height: 45vh; */
    justify-content: center;
    margin: 1rem auto 1rem auto;
  }
  .post-image {
    height: 35vh;
  }
  .post-image > img {
    height: 100%;
  }
  .post-header {
    font-size: 2rem;
  }
}
body > div.container.bg-light.py-5 > div{
    overflow-wrap:break-word;
}

/* ===== Agency Homepage Enhancements ===== */
.hero-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #ede7f6 100%);
  border-radius: 14px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.hero-section .btn {
  margin: 0.25rem 0.35rem;
}
.section-title {
  font-family: "Smooch Sans", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #4a148c;
}
.service-card {
  border: 1px solid rgba(74,20,140,0.15);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(74,20,140,0.18);
}
.authority-section .table {
  border-radius: 12px;
  overflow: hidden;
}
.authority-section .table thead th {
  background: #f3e5f5;
  color: #4a148c;
}

/* ===== Animated Promo Banners ===== */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.banner-a { background: linear-gradient(135deg, #8e24aa, #d81b60); animation: floatY 5s ease-in-out infinite; }
.banner-b { background: linear-gradient(135deg, #3949ab, #1e88e5); animation: pulse 4s ease-in-out infinite; }
.banner-c { background: linear-gradient(135deg, #00897b, #43a047); animation: ripple 6s ease-in-out infinite; }
.banner-d { background: linear-gradient(135deg, #f4511e, #fb8c00); animation: floatX 5.5s ease-in-out infinite; }

@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
@keyframes floatX {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(216,27,96,0.3); }
  50% { box-shadow: 0 0 24px rgba(30,136,229,0.35); }
  100% { box-shadow: 0 0 0 rgba(216,27,96,0.3); }
}
@keyframes ripple {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
  100% { filter: brightness(1); }
}