@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

header {
    height: 120px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgb(96, 33, 151);
    /* border-bottom: 3px solid rgba(0, 0, 0, 0.34); */

}
body{
    background: #faf9fc;
    color: #1f2230;
}

.logo img {
    height: 80px;
}

a {
    color: inherit;
    text-decoration: none;
}

.main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: white;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.logo img {
  height: 50px;
  content: url('../img/logo.png');
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin: 0 20px;
  position: relative;
}

.main-nav ul li a {
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: purple;
  transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover {
  color: purple;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.programslist .programslist1{
        display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    color: #000000;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.programslist:hover .programslist1{
     display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}
.programslist1 ul{
    flex-direction: column;
}
.programslist1 ul li {
    margin: 0;
    width: 100%;
}
.programslist1 ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}
.programslist1 ul li a:hover {
    background-color: #000000;
    color: rgb(254, 254, 255);
}

.programslist1 ul li a i {
    margin-left: 8px;
}

.others .other-main {
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: rgb(6, 6, 6);
  min-width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.others:hover .other-main {
  display: block;
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.other-main ul {
  display: flex;
  flex-direction: column;
}

.other-main ul li {
  margin: 0;
  width: 100%;
}

.other-main ul li a {
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  white-space: nowrap;
}

.other-main ul li a:hover {
  background-color: #212128;
  color: rgb(255, 254, 255);
}

.other-main ul li a i {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.4s ease-in-out;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  color: white;
  background-color: #c500ed;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  padding-top: 100px;
}

.side-menu nav ul {
  display: flex;
  flex-direction: column;
}

.side-menu nav li {
  width: 100%;
}

.side-menu nav a {
  display: block;
  padding: 18px 30px;
  font-size: 1.6em;
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s;
  color: white;
}

.side-menu nav a:hover {
  color: #ffffff;
}

#menu-toggle:checked ~ .side-menu {
  transform: translateX(0);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

.bloghead{
  height: auto;
  padding: 9vh 0 10vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.blogheadstart{
  width: 70%;
  height: auto;
}
.blogheadfirst{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* overflow: hidden;/ */
  position: relative;padding: 10vh 0 10vh 0;
}
.blogheadfirst h1{
font-size: 2.3em;
font-weight: 900;
margin-bottom: 15px;
color: black;
text-align: center;
}
.blogheadfirst h4{
font-size: 0.9em;
color: gray;
top: 0;
margin-bottom: 20px;
width: 70%;
text-align: left;

}
.blogheadfirst img{
  /* position: absolute; */
  width: 90%;
  height: 400px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  bottom: 0;
}
.blogheadpassage{
  width: 90%;
  border-left: 3px solid rgba(128, 128, 128, 0.171);
  padding: 5px;
  
}
.blogheadpassage p{
  font-size: 16px;
  color: black;
  font-weight: 400;
  line-height: 28px;
    font-family: "Lora", serif;
    margin-bottom: 10px;

}
.blogheadfirst1{
  height: auto;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blogheadfirst1 img{
height: 300px;
width: 70%;
aspect-ratio: 1/1;
object-fit: cover;
border-radius: 10px;
}
.blogheadmore{
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  
}
.blogheadmore h3{
  font-size: 1.2em;
  color: gray;
  font-weight: 500;
    font-family: "Lora", serif;
    margin-bottom: 30px;

}
.blogheadhead{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  width: 100%;
}
.blogheadpost{
  height: 280px;
position: relative;
border-radius: 2px;
overflow: hidden;
}
.blogheadpost img{
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform .3s ease;
}
.blogheadpost img:hover{
  transform: scale(1.1);
}
.posttext{
  position: absolute;
  height: 110px;
  width: 100%;
  background-color: white;
  padding: 15px;
  bottom: 0;
}
.posttext h4{
  font-size: 0.9em;
    font-family: "Lora", serif;
  color: gray;
  font-weight: 500;
  transition: .3s;
}
.posttext h4:hover{
  color: #c500ed;
}
@media screen and (max-width:770px) {
  .blogheadstart{
    width: 90%;
  }
  .blogheadhead{
    grid-template-columns: repeat(2,1fr);
  }
  .blogheadfirst1 img{
    width: 100%;
  }
}
@media screen and (max-width:500px) {
  .blogheadfirst h1{
    font-size: 1.6em;
  }
  .blogheadfirst img{
    width: 100%;
    height: 320px;
  }
  .blogheadpassage p{
    font-size: 15px;
  }
  .blogheadhead{
    grid-template-columns: repeat(1,1fr);
  }
}

/* ===================== NEW SINGLE-ARTICLE LAYOUT ===================== */

.article-main {
    padding-top: 80px;
}

.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 5% 30px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a2be2;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 26px;
    transition: gap 0.25s ease;
}

.article-back:hover {
    gap: 13px;
}

.article-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.18;
    color: #1f1233;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #8a2be2;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.article-meta .dot {
    color: #c9c2d6;
}

.article-standfirst {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a4a57;
    font-style: italic;
    border-left: 4px solid #c500ed;
    padding-left: 18px;
    margin-bottom: 30px;
}

.article-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 12px 40px rgba(83, 2, 101, 0.12);
}

.article-hero img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

/* Rich content typography */
.article-body {
    font-family: 'Lora', serif;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2c2c38;
}

.article-body p {
    margin-bottom: 22px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: 'Inter', sans-serif;
    color: #1f1233;
    line-height: 1.3;
    margin: 36px 0 14px;
}

.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.3rem; }

.article-body ul,
.article-body ol {
    margin: 0 0 22px 1.2em;
    padding-left: 1em;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; }

.article-body a {
    color: #c500ed;
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.article-body blockquote {
    border-left: 4px solid #c500ed;
    padding: 6px 0 6px 20px;
    margin: 24px 0;
    color: #4a4a57;
    font-style: italic;
}

.article-figure {
    max-width: 820px;
    margin: 10px auto 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(83, 2, 101, 0.12);
}

.article-figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* More articles */
.more-articles {
    max-width: 1180px;
    margin: 30px auto 0;
    padding: 44px 5% 80px;
    border-top: 1px solid #ececf2;
}

.more-articles-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgb(53, 2, 101);
    margin-bottom: 28px;
}

.blog-empty {
    text-align: center;
    color: #6b6b78;
    font-size: 1.1rem;
    padding: 60px 0;
}

/* Shared post cards (reused from the listing) */
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a2be2;
    margin-bottom: 10px;
}

.post-meta .dot { color: #c9c2d6; }
.post-meta i { opacity: 0.85; }

.post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #c500ed;
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.25s ease;
}

.post-card:hover .post-readmore { gap: 15px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(83, 2, 101, 0.08);
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(83, 2, 101, 0.16);
}

.post-card-img {
    height: 190px;
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-img img { transform: scale(1.06); }

.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1f1233;
    margin-bottom: 10px;
}

.post-card-excerpt {
    color: #6b6b78;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

@media (max-width: 992px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .post-grid { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer {
    padding: 5vh 0 8vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #1a1024;
    color: white;
}

.footer1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 40px;
    width: 86%;
}

.logo1 { display: flex; align-items: center; }
.logo1 img { height: 70px; width: auto; }

.logo1 h4 {
    font-size: 3.4em;
    font-weight: 700;
    margin-left: 20px;
    line-height: 1;
    color: #fff;
}

.contact-bthn {
    width: 86%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 0 60px 0;
}

.btn33,
.btn34 {
    height: 70px;
    width: 100%;
    max-width: 260px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.05em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn33 a,
.btn34 a {
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn33:hover,
.btn34:hover {
    background-color: #c500ed;
    border-color: #c500ed;
}

.credentials {
    width: 86%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.credentials p { font-size: 1em; }

.links2 ul {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.links2 .wow {
    border-right: 1px solid blueviolet;
    padding-right: 20px;
}

.wow a { color: blueviolet; }

.links2 ul li a {
    font-size: 1.05em;
    font-weight: 500;
    transition: 0.3s;
    color: white;
}

.links2 ul li a:hover { color: #c500ed; }

@media (max-width: 768px) {
    .logo1 h4 { font-size: 2.4em; }
    .contact-bthn { flex-direction: column; }
    .btn33, .btn34 { max-width: 100%; }
    .credentials { flex-direction: column; text-align: center; }
    .links2 ul { justify-content: center; }
}