body{
    background:#f4f7fc;
    font-family:Arial,sans-serif;
}

/* Navbar */
.navbar {
  background: #0d6efd;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 5px;
}

.nav-link:hover {
  color: #ffd700 !important;
}

.nav-item a {
    font-weight: 600;
   
}

.navbar-brand {
  color: #fff !important;
  font-weight: 700;
}

/* Center alignment fix on mobile */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    margin-bottom: 10px;
  }

  .d-flex {
    justify-content: center;
  }
}

.hero-content{
    max-width:1200px;
    width:100%;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding:0 20px;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
}

.hero-right img{
    width:100%;
    max-width:550px;
    border-radius:15px;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.badge{
    display:inline-block;
    background:#029607;
    color:#000;
    padding:10px 20px;
    border-radius:30px;
    margin-bottom:20px;
    font-size:14px;
}

.hero-buttons{
    margin-top:25px;
}

.btn-primary{
    display:inline-block;
    color:#000000;
    padding:8px 25px;
    border-radius:8px;
    text-decoration:none;
    margin-right:10px;
    background-color: beige;
    border: 1px solid #0d6efd;
    font-weight: 700;
}

.btn-secondary{
    display:inline-block;
    background:#fff;
    color:#000;
    padding:8px 25px;
    border-radius:8px;
    text-decoration:none;
    background-color:#8ece89;
    border: 1px solid #0d6efd;
     font-weight: 700;
   
}

.stats{
    padding: 10px;
    display:flex;
    gap:30px;
}

.stats h3{
    margin:0;
    color:#dba912;
    font-weight: 700;
}

.stats span{
    font-size:14px;
    color:#1d1d1d;
}

@media(max-width:991px){

.hero{
    height:auto;
    padding:80px 0;
}

.hero-content{
    flex-direction:column;
    text-align:center;
}

.hero h1{
    font-size:40px;
}

.hero p{
    font-size:18px;
}

.stats{
    justify-content:center;
}
}



.post-card{
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
  margin-bottom:10px;
}

.post-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.post-img{
  width:100%;
  height:200px;

}

.post-body{
  padding:15px;
}

.post-title{
  font-size:18px;
  font-weight:600;
  color:#111827;
}

.post-text{
  font-size:14px;
  color:#6b7280;
  margin-bottom:2px;
  
}

.read-more{
  display:inline-block;
  margin-bottom:5px;
  color:#2563eb;
  font-weight:500;
  text-decoration:none;
}

.read-more:hover{
  text-decoration:underline;
}

/* Buttons */
.post-actions{
  display:flex;
  justify-content:space-between;
  border-top:1px solid #eee;
  padding-top:10px;
}

.action-btn{
  flex:1;
  margin:0 3px;
  padding:6px 8px;
  font-size:13px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition:0.3s;
  background:#f3f4f6;
}

.action-btn:hover{
  background:#e5e7eb;
}

/* Colors */
.like:hover{ background:#fee2e2; }
.comment:hover{ background:#e0f2fe; }
.share:hover{ background:#dcfce7; }

.sidebar{
  background:#ffffff;
  border-radius:12px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

/* Title */
.sidebar-title{
  font-size:18px;
  font-weight:700;
  color:#111827;
  border-left:5px solid #000000;
  padding-left:10px;
}

/* List */
.sidebar-list .list-group-item{
  border:none;
  padding:12px 10px;
  border-bottom:1px solid #f1f1f1;
  transition:0.3s;
  background:transparent;
}

.sidebar-list .list-group-item a{
  text-decoration:none;
  color:#374151;
  display:block;
  font-size:14px;
}

/* Hover effect */
.sidebar-list .list-group-item:hover{
  background:#f3f4f6;
  padding-left:15px;
}

.sidebar-list .list-group-item a:hover{
  color:#2563eb;
}

.sidebar h4 {
    background: linear-gradient(90deg, #0d6efd, #20c997);
    text-align: center;
    padding: 5px;
    color: aliceblue;
    border-radius: 4px;
      font-size: 20px;
    border-bottom-style: dashed;
}
.content-box h4 {
    background: linear-gradient(90deg, #0d6efd, #20c997);
    text-align: center;
    padding: 5px;
    color: aliceblue;
     border-radius: 4px;
    font-size: 20px;
    border-bottom-style: dashed;
}














.footer {
  background: #0f172a;
  color: #cbd5e1;
}

.footer-logo {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-title {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 5px;
}

/* Social */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  color: #22c55e;
  padding-left: 5px;
}

/* Divider */
.footer-hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 25px 0;
}

/* Bottom text */
.footer-bottom {
  color: #94a3b8;
}

/* Mobile fix */
@media (max-width: 768px) {
  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
}


