/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  padding-top: 100px; /* space for fixed nav */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
h1, h2, h3 {
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
}

.cta-button, .donate-btn, .volunteer-btn, .partner-btn, .join-btn, .intern-btn {
  display: inline-block;
  background: rgb(224, 156, 62);
  color: black;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.cta-button:hover, .donate-btn:hover, .volunteer-btn:hover, .partner-btn:hover, .join-btn:hover, .intern-btn:hover {
  background: #2a9ca3;
}

/* Navigation */
nav {
  background: #3bbec7;
  color: white;
  padding: 0px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: -70px;
}

.logo-container h2 {
  font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #331eac;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    margin-top: auto;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2), 0px 4px 7px rgba(0, 0, 0, 0.1), 0px 9px 12px rgba(0, 0, 0, 0.1);
}
.nav-container .logo {
  margin: 10px;
  background: #fafbfb;
  padding: 0px;
  border-radius: 100px;
  height: 100px;
  width: 100px;
  max-width: 200px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  object-fit: contain;
}


.nav-menu {
  display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0px;
    font-weight: 600;
    line-height: 25px;
    justify-content: center;
    gap: -50px;
    height: 50px;
    line-height: 25px;
    white-space: nowrap;
}

.nav-menu li a {
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 5px;
  transition: background 0.3s;
}

.nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px,
}

/* Dropdown Styles */
.nav-menu li.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #3bbec7;
  min-width: 260px;
  list-style: none;
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
}

.nav-menu li.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  color: white;
}

.slider {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.slide {
  min-width: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  background: rgba(0,0,0,0.4);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.slide-overlay h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.slide-overlay p {
  font-size: 1.2rem;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 2;
}

.slider-control.prev {
  left: 10px;
}

.slider-control.next {
  right: 10px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 20px 80px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

/* Stat Card Styling */
.stat-card {
  flex: 1 1 140px;
  max-width: 160px;
  background: white;
  padding: 25px 10px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid transparent;
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.stat-card:nth-child(1):hover { border-bottom-color: #3bbec7; }
.stat-card:nth-child(2):hover { border-bottom-color: #f2a900; }
.stat-card:nth-child(3):hover { border-bottom-color: #28a745; }
.stat-card:nth-child(4):hover { border-bottom-color: #dc3545; }
.stat-card:nth-child(5):hover { border-bottom-color: #fd7e14; }
.stat-card:nth-child(6):hover { border-bottom-color: #6f42c1; }
.stat-card:nth-child(7):hover { border-bottom-color: #e83e8c; }

.stat-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.3s;
}
.stat-card:hover .stat-icon {
  transform: scale(1.1);
}
.stat-card h3 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.stat-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 500;
  margin: 0;
}

#who-we-are h2,
#who-we-are-vision h2,
#who-we-are-mission h2,
#who-we-are-awards h2,
#who-we-are-governing h2,
#who-we-are-leadership h2,
#who-we-are-advisors h2,
#who-we-are-reports h2,
#who-we-are .mission h3,
#who-we-are .vision h3,
#our-programme h2,
#support-us h2,
#news h2,
#join-us h2,
#our-team h2,
#home-who-we-are h2,
#home-our-programme h2,
#contact h2,
.stats h2,
#programme-health h2,
#programme-digital h2,
#programme-skill h2,
#programme-cyber h2,
#programme-financial h2,
#our-partners h2,
#who-we-are h2,
#our-programme h2,
#support-us h2,
#news h2,
#join-us h2,
#our-team h2 {
  color: red;
  text-align: center;
}

#who-we-are .mission h3,
#who-we-are .vision h3 {
  text-align: left;
}

/* Programme Section */
.programme {
  padding: 80px 20px;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.programme-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.programme-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.programme-item.card {
  padding: 0;
  overflow: hidden;
}

.programme-item.card .program-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
  background: #f7f7f7;
}

.programme-detail-banner {
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  margin-bottom: 25px;
  border-radius: 8px;
  background: #f7f7f7;
}

.programme-detail-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.programme-item.card h3,
.programme-item.card p {
  padding: 0 20px;
}

.programme-item.card h3 {
  padding-top: 20px;
}

.programme-item.card p {
  padding-bottom: 20px;
}


/* Support Section */
.support {
  padding: 80px 20px;
  background: #f5f5f5;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.support-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* News Section */
.news {
  padding: 80px 20px;
}

#events-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Join Section */
.join {
  padding: 80px 20px;
  background: #f9f9f9;
}

.join-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.join-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* Team Section */
.team {
  padding: 80px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background: #f5f5f5;
}

.map-container {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-info {
  margin-bottom: 40px;
}

.contact-form {
  display: grid;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form button[type="submit"] {
  background: #3bbec7;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  background: #2a9ca3;
}

.contact-form .form-status {
  text-align: center;
  font-weight: 600;
  margin-top: 8px;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #444;
  color: #f7f7f7;
  padding: 10px 10px;
  position: relative;
  font-size: small;
  margin: auto;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer small {
  color: #f1f1f1;
  line-height: 1.6;
}

.programme-list {
  list-style: none;
  padding-left: 0;
}

.programme-list li {
  margin-bottom: 10px;
}

.programme-list li a {
  text-decoration: none;
  color: #f1f1f1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.3s, color 0.3s;
}

.programme-list li a:hover {
  background: rgba(59, 190, 199, 0.2);
  color: #ffffff;
}

.programme-list li a .programme-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #3bbec7;
  color: #fff;
  font-size: 0.85rem;
}

.footer-news-list .footer-news-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-news-list .footer-news-item .bullet {
  width: 12px;
  height: 12px;
  background: #3bbec7;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: 4px;
}

.footer-news-list .footer-news-item a {
  text-decoration: none;
  color: #f1f1f1;
}

.footer-news-list .footer-news-item a:hover {
  text-decoration: underline;
}

.footer-news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.news-bullet {
  width: 12px;
  height: 12px;
  background: #3bbec7;
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid #5d5d5d;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  font-weight: bold;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 0;
  background: #f86900;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: none;
}

.back-to-top:hover {
  background: #e65e00;
}

.donate-fixed-btn {
  position: fixed;
  top: 35px;
  right: 20px;
  transform: none;
  z-index: 1000;
  background: #be5306;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  gap: 8px;
  transition: background 0.3s, transform 0.3s;
}

.donate-fixed-btn:hover {
  background: #e65e00;
  transform: translateY(-2px);
}

.social-links a {
  color: #3bbec7;
  margin: 0 10px;
  text-decoration: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 1200px;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close:hover {
  color: black;
}

/* Tab Styles */
.tab-container {
  display: none;
}

.tab-container.active {
  display: block;
}

.tab-content {
  padding: 20px 0;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.popup-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}

#close-popup {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#close-popup:hover {
  color: black;
}

/* Fixed Lok Bharti Logo */
.lokbharti-logo-fixed {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 998;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border: 1px solid #eee;
}
.lokbharti-logo-fixed img {
  width: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    padding: 10px 20px;
  }

  .nav-menu {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .programme-grid, .support-options, .join-options, .team-grid {
    grid-template-columns: 1fr;
  }

  #events-container {
    grid-template-columns: 1fr;
  }

  .social-sidebar {
    right: 10px;
    gap: 10px;
  }

  .social-sidebar a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* Fixed Social Media Sidebar */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-sidebar a {
  width: 50px;
  height: 50px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-sidebar a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  filter: brightness(1.15);
}

.social-fb { background: #1877F2; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-wa { background: #25D366; }
.social-li { background: #0A66C2; }
.social-yt { background: #FF0000; }

/* Success Stories Section */
.success-stories {
  padding: 80px 20px;
  background: #f9f9f9;
}

.success-stories h2 {
  color: red;
  text-align: center;
  margin-bottom: 50px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stories-grid { grid-template-columns: 1fr; }
}

.story-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.story-meta {
  display: flex;
  align-items: center;
  padding: 15px 20px 15px;
  gap: 12px;
  background: #fff;
}
.story-meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3bbec7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.story-meta-info { display: flex; flex-direction: column; }
.story-meta-info .author { font-size: 0.9rem; color: #333; line-height: 1.2; }
.story-meta-info .date { font-size: 0.8rem; color: #777; margin-top: 3px; }

.story-card img, .story-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #000;
}

.story-content-box {
  padding: 15px 20px 5px;
  flex-grow: 1;
}

.story-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 10px;
  padding: 0;
}

.story-desc-clamp {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit: line clamp 3%;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  margin: 0;
}

.story-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px 20px;
  margin-top: auto;
}
.read-more-btn {
  background: transparent;
  color: #3bbec7;
  border: 2px solid #3bbec7;
  padding: 6px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  font-size: 0.9rem;
}
.read-more-btn:hover {
  background: #3bbec7;
  color: white;
}
.story-share-icons a {
  color: #777;
  margin-left: 12px;
  font-size: 1.2rem;
  transition: color 0.3s;
  text-decoration: none;
}
.story-share-icons a:hover { color: #3bbec7; }

.login-main-btn {
  background: #28a745;
  color: white;
  padding: 15px 40px !important;
  font-size: 1.2rem !important;
}
.login-main-btn:hover {
  background: #218838 !important;
}


.read-btn{
background:#0d6efd;
color:white;
border:none;
padding:8px 15px;
border-radius:5px;
cursor:pointer;
}

#events-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

.event-card{
background:white;
padding:15px;
border-radius:8px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
}

.popup-content{
background:white;
padding:20px;
width:90%;
max-width:500px;
margin:100px auto;
border-radius:8px;
}

#close-popup{
float:right;
cursor:pointer;
font-size:22px;
}

/* Stats Section */
.stats {
  padding: 80px 20px;
  background: #f9f9f9;
}

/* Partners Section */
.partners {
  padding: 80px 20px;
}

.partners-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 180px;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  width: max-content;
  animation: partners-slide 18s linear infinite;
}

.partners-track img {
  width: 220px;
  height: 120px;
  object-fit: contain;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eaeaea;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.partners-track img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

@keyframes partners-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Rich Text Content Formatting */
.rich-text-content h1, .rich-text-content h2, .rich-text-content h3, .rich-text-content h4 {
  color: #222;
  margin-top: -10px;
  margin-bottom: 10px;
}
.rich-text-content p {
  margin-bottom: 10px;
}
.rich-text-content ul, .rich-text-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}
.rich-text-content li {
  margin-bottom: 12px;
}

/* =========================================================
   Story Details Page Enhancement
   ========================================================= */
.story-details-page { padding: 80px 20px; background: #f9f9f9; }
.story-details-page .container { max-width: 1170px; margin: 0 auto; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); }
.story-details-page #story-detail-title { font-size: 2 rem; text-align: center; color: #1a2b3c; margin-bottom: 20px; line-height: 1.3; }
.story-details-page #story-detail-meta { justify-content: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.story-details-page #story-detail-desc { font-size: 1 rem; line-height: 1.8; color: #333; }
.story-details-page #story-detail-desc h3 { font-size: 1.5rem; color: #3bbec7; margin-top: 30px; }

/* =========================================================
   Event Details Page Enhancement
   ========================================================= */
.event-details-page { padding: 80px 20px; background: #f9f9f9; }
.event-details-page .container { max-width: 1170px; margin: 0 auto; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); }
.event-details-page #event-detail-title { font-size: 2 rem; text-align: center; color: #1a2b3c; margin-bottom: 20px; line-height: 1.3; }
.event-details-page #event-detail-meta { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.event-details-page #event-detail-desc { font-size: 1 rem; line-height: 1.8; color: #333; }

/* =========================================================
   B2B Premium Services Split Layout 
   ========================================================= */
   /* ===== SERVICES HERO SECTION ===== */


.services-hero{
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
        135deg,
        #f5f7ff,
        #98c9d4
    );

    overflow: hidden;
    position: relative;
}

/* ===== LEFT CONTENT ===== */

.services-content{
    width: 50%;
    padding-left: 6%;
    z-index: 2;
}

.top-heading{
    font-size: 55px;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(
        90deg,
        #283593,
        #8e24aa,
        #b4d884
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;
    margin-bottom: 15px;

    font-family: 'Poppins', sans-serif;
}

.services-content h1{
    font-size: 65px;
    line-height: 1.15;
    font-weight: 800;

    color: #111827;
    margin-bottom: 25px;

    font-family: 'Poppins', sans-serif;
}

.services-content p{
    font-size: 21px;
    line-height: 1.8;
    color: #475569;

    max-width: 700px;
    margin-bottom: 40px;

    font-family: 'Poppins', sans-serif;
}


/* ===== RIGHT IMAGE SECTION ===== */

.services-image{
    width: 50%;
    height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}



/* Phone Images */
.phone-img{
    position: absolute;
    width: 220px;

    z-index: 3;

    border-radius: 30px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.15);

    animation: float 5s ease-in-out infinite;
}

/* Left Phone */
.phone-1{
    left: 40px;
    bottom: 90px;
}

/* Right Phone */
.phone-2{
    right: 30px;
    top: 120px;
}

/* Floating Animation */
@keyframes float{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-12px);
    }
    100%{
        transform: translateY(0px);
    }
}

/* ===== RESPONSIVE ===== */

@media(max-width: 1200px){

    .services-content h1{
        font-size: 52px;
    }

    .top-heading{
        font-size: 45px;
    }

    .services-content p{
        font-size: 18px;
    }

    .phone-img{
        width: 170px;
    }
}

@media(max-width: 992px){

    .services-hero{
        flex-direction: column;
        padding-top: 100px;
    }

    .services-content{
        width: 100%;
        text-align: center;
        padding: 40px 20px;
    }

    .services-image{
        width: 100%;
        height: auto;
        padding-bottom: 60px;
    }

    .main-img{
        width: 95%;
    }

    .phone-img{
        width: 130px;
    }

    .phone-1{
        left: 10px;
        bottom: 20px;
    }

    .phone-2{
        right: 10px;
        top: 20px;
    }

    .hero-btns{
        justify-content: center;
        flex-wrap: wrap;
    }

    .services-content h1{
        font-size: 42px;
    }

    .top-heading{
        font-size: 36px;
    }
}

.split-section { padding: 80px 20px; background: #fdfdfd; }
.split-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto; }
.split-header h2 { font-size: 2.5rem; color: #1a2b3c; position: relative; display: inline-block; margin-bottom: 15px; }
.split-header h2::after { content: ''; position: absolute; width: 60px; height: 4px; background: #3bbec7; bottom: -10px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.split-header p { color: #666; font-size: 1.1rem; margin-top: 20px; }

.split-row { display: flex; flex-wrap: wrap; align-items: center; max-width: 1100px; margin: 0 auto 80px; gap: 60px; }

/* Left Side Text Card Styling */
.split-text { 
  flex: 1; min-width: 320px; background: #fff; padding: 40px; 
  border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
  border: 1px solid #f9f9f9; transition: transform 0.4s ease; 
}
.split-text:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.1); }
.split-text h3 { font-size: 1.8rem; color: #222; margin-bottom: 20px; font-family: 'Poppins', sans-serif; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.split-text h3 i { background: rgba(59, 190, 199, 0.1); padding: 12px; border-radius: 12px; }
.split-text p { color: #555; font-size: 1.1rem; line-height: 1.7; margin-bottom: 25px; }
.split-features { list-style: none; padding: 0; margin-bottom: 0; }
.split-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #444; font-weight: 600; font-size: 1.05rem; }
.split-features li i { color: #3bbec7; font-size: 1.2rem; background: #e0f7f8; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }


/* AEPS Specific Design */
.ui-body-aeps { text-align: center; padding: 40px 20px; position: relative; z-index: 1; }
.ui-fingerprint { font-size: 5rem; color: #3bbec7; margin: 25px 0; display: inline-block; animation: pulse 2s infinite; text-shadow: 0 10px 20px rgba(59,190,199,0.3); }

/* CMS List Design */
.ui-list-item { 
  display: flex; align-items: center; gap: 15px; padding: 15px; background: #fff; 
  border-radius: 12px; margin: 15px 20px; border: 1px solid #eee; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: all 0.3s ease; position: relative; z-index: 1;
}
.ui-list-item:hover { transform: translateX(8px); border-color: #3bbec7; box-shadow: 0 6px 15px rgba(59,190,199,0.1); }
.ui-list-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* BBPS Grid Design */
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; position: relative; z-index: 1; }
.ui-grid-item { background: #fff; padding: 25px 15px; border-radius: 12px; text-align: center; border: 1px solid #eee; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: all 0.3s ease; cursor: pointer; }
.ui-grid-item:hover { transform: translateY(-5px); border-color: #f2a900; box-shadow: 0 8px 20px rgba(242,169,0,0.15); }
.ui-grid-item i { font-size: 2.2rem; margin-bottom: 15px; display: block; }

/* E-Gov Design Settings */
.ui-mockup[style*="linear-gradient"] { transition: all 0.5s ease; }
.ui-mockup[style*="linear-gradient"]:hover { transform: rotateY(0) rotateX(0) translateY(-10px); box-shadow: 0 30px 60px rgba(15,32,39,0.4); }

/* Animations */
@keyframes pulse { 
  0% { transform: scale(1); opacity: 1; text-shadow: 0 0 0 rgba(59,190,199,0.4); } 
  50% { transform: scale(1.08); opacity: 0.8; text-shadow: 0 0 25px rgba(59,190,199,0.8); } 
  100% { transform: scale(1); opacity: 1; text-shadow: 0 0 0 rgba(59,190,199,0.4); } 
}
@keyframes loadline { 
  0% { left: -50%; } 
  100% { left: 100%; } 
}

/* Mobile Responsiveness */
@media (max-width: 768px) { 
  .split-row { flex-direction: column !important; gap: 40px; text-align: center; } 
  .split-text h3 { justify-content: center; } 
  .split-features li { justify-content: flex-start; text-align: left; } 
  .ui-mockup { transform: none; margin-bottom: 20px; }
}
