body {
  margin: 0;
  padding: 0;
  background-color: #060606 !important; /* Optional preview background */
   width: 100%;
    height: 100vh !important;
    overflow-x: hidden;
     /* Prevent horizontal scrolling */


    /* min-height: 100vh; */
}

.navbar-custom {
  background-color: #060606;
  font-family: 'Lexend Exa', sans-serif !important;
  padding: 1rem 1.5rem !important;
}

.navbar-nav .nav-link {
  color: white !important;
  font-size: 0.99rem;
  margin: 0 0.5rem;
}

.contact-btn {
  background-color: #713B96;
  color: white !important;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem !important;
  border: none;
  border-radius: 1.5rem;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #552870;
}

/* Logo Image Styling */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:focus,
.navbar-nav .nav-link.active:hover {
  background: linear-gradient(to right, #CB256C, #A259D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.no-underline {
  text-decoration: none;
  color: inherit; /* Keeps button text color from your .contact-btn */
}
.no-underline:hover {
  text-decoration: none; /* Prevent underline on hover too */
}


/* Hero Section */
.hero-section {
  background-color: #060606; /* Black background */
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Lexend Exa', sans-serif;
  width: 100%;
  padding: 30px 50px !important;
  margin-top: 20px !important;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #a87bd4;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  text-align: start;
  padding-left: 50px !important;
  margin-bottom: 20px !important;
}

.hero-title {
  font-size: 5rem; /* Adjust for your design */
  font-weight: 800;
  color: #fff;
  letter-spacing: 4px;
  margin: 0;
   text-align: start;
   padding-left: 100px !important;
    margin-bottom: 20px !important;
}

.hero-title .gradient {
  background: linear-gradient(to right, #CB256C, #A259D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
}

.hero-description {
  font-size: 1.1rem;
  color: #a87bd4;
  margin-top: 0.5rem;
  line-height: 1.5;
   margin-bottom: 20px !important;
}


/* Banner Image Section */
.hero-image {
  margin-top: 1.5rem;
  position: relative;
  margin-bottom: 20px !important;
}

.hero-image img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

/* Overlay text on banner */
.hero-image-text {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: white;
  font-size: 0.95rem;
  line-height: 1.3;
}
/* ======================== */
.blogs-class {
  text-align: center; /* Centers the h2 */
  margin: 40px 0 20px; /* Optional spacing */
}

.blogs-class h2 {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 2.7rem;
  font-weight: bold;

  background: linear-gradient(to right, #CB256C, #A259D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  display: inline-block; /* Required for gradient */
}
/* ================== */
.container-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 1.5rem;
  color: #7b4bd4;
  margin-bottom: 1rem;
  text-align: left;
}

.topics-container {
  display: flex;
  gap: 2rem;
  /* flex-wrap: wrap; */
  margin-bottom: 2rem;
}
.topics-list {
  flex: 0 0 30%; /* increased width */
}

.topics-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-item {
  background: #ddd;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  border-left: 10px solid #a87bd4;
}

.topic-item.active {
  background: #e5d9f2;
}

.topics-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  flex: 1;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-content {
  padding: 1rem;
}
.post-content h3{
  font-size: 1.2rem !important;
}
.post-content p{
  font-size: 0.9rem !important;
}

.post-category {
  background: #e5e8ff;
  color: #5a5cd6;
  padding: 3px 8px;
  font-size: 0.8rem;
  border-radius: 5px;
}

.post-date {
  float: right;
  font-size: 0.8rem;
  color: #999;
}

.multi-col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem !important;
}

.container.grey {
  background: #ccc;
  height: 150px;
  border-radius: 10px;
  margin-bottom: 20px !important;
}


.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.recent-card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ========================== */

/* Unified Scrollbar Styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #7b4bd4;
    border-radius: 10px;
   
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Requirement: 2-line truncation */
.description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Light purple badge for Recent Section */
.bg-purple-light {
    /* background-color: #f3e5f5; */
    background-color: #7b4bd4;
    color: #fff !important;
}

.text-purple {
    color: #7b4bd4;
}

/* Card image hover effect */
.post-card img {
    transition: transform 0.3s ease;
}
.post-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    #blogRecentGrid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .topics-container {
        flex-direction: column;
    }
    .topics-list {
        max-height: 200px !important;
    }
}


/* ===========footer swection========= */
 .footer-section {
  background-color: #fff; /* White background like in the image */
  color: #000;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
}

.footer-section h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.check-class{
    padding-left: 40px !important;
    
}

.footer-section .fw-bold {
  background: linear-gradient(to right, #CB256C, #A259D4); /* Pink to purple gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
    font-size: 0.95rem !important;
  line-height: 1.6;
  color: #6c6c6c; /* Light gray text like in image */
  padding-left: 10px !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #6c6c6c; /* Light gray */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #000;
}

.footer-logo {
  width: 220px; /* Matches larger logo look */
  height: auto;
  object-fit: contain;
}

.footer-section a {
  color: #6c6c6c;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.bi {
  font-size: 1.3rem;
  color: #6c6c6c;
  transition: color 0.3s ease;
}

.bi:hover {
  color: #000;
}

.contact-info {
  background: linear-gradient(to right, #CB256C, #A259D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hello-class p{
     font-size: 0.95rem !important;
  color: #6c6c6c !important;
}
/* Responsive */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }
  .hello-class {
    padding-left: 0 !important;
  }
}
.mobile-break {
  display: none; /* hidden by default (desktop) */
}


/* ================= mobile view code section============ */

@media (max-width: 768px) {
  .mobile-break {
    display: block !important;
    height: 0;   /* prevents extra gap */
  }
       .mobile-hide-br {
    display: none;
  }
  #navbarContent {
    background: #060606;
    padding: 1rem;
  }
  .navbar-custom {
  background-color: #060606;
  font-family: 'Lexend Exa', sans-serif;
  padding: 0.7rem 1rem !important;
}
/* Logo smaller on mobile */
.logo-img {
  height: 37px;
  width: auto;
  object-fit: contain;
}
/* Nav links */
.navbar-nav .nav-link {
  color: white !important;
  font-size: 0.85rem; /* smaller font */
  margin: 0.02rem 0;
}
 /* Nav links */
  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important; /* align left */
     text-align: left !important;
    gap: 6px; 
    margin-top: 0.1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.85rem;
    text-align: left !important;
    padding-left: 0.5rem;
  }

 /* Buttons */
  .contact-btn {
    font-size: 0.8rem;
    margin-top: 10px !important; /* spacing between buttons */
    padding: 0.4rem 1rem !important;
    border-radius: 1.2rem;
    display: block; /* makes them stack properly */
    width: fit-content;
  }

  /* Gap between Contact Us & Login */
  .navbar-nav .nav-item:last-child .contact-btn {
    margin-top: 8px !important;
  }
  .navbar-toggler{
    font-size: 18px !important;
  }
/* ================= */
 /* 1️⃣ Blogs Main Heading */
  .blogs-class h2 {
    font-size: 2rem !important;
  }

  /* Section titles remain same (no change needed) */

  /* 2️⃣ Post Content Font Adjustments */
  .post-content h3 {
    font-size: 1.1rem !important;
  }

  .post-content p {
    font-size: 0.85rem !important;
  }

  /* 3️⃣ Reduce Scrollbar Width */
  .custom-scrollbar::-webkit-scrollbar {
    width: 3px; /* Reduced from 6px */
  }

  /* 4️⃣ Fix Container Spacing for Mobile */
  .container-wrapper {
    padding: 0 1rem; /* Reduced side padding */
  }

  .topics-container {
    flex-direction: column;
    gap: 1rem;
  }

  .topics-list,
  .topics-posts {
    width: 100%;
  }

  #exploreScrollArea,
  #recentPostsScrollArea,
  .topics-list {
    max-height: 300px !important;
  }
  /* ============== footer section========== */
   section.footer-section.py-5{
      padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
   .footer-section {
    margin: 0 !important;         /* Removes top and bottom spacing */
    padding: 0.5rem 1rem !important; /* Reduce inner padding for mobile */
    border-radius: 0 !important;  /* Optional: remove rounded corners on mobile */
     border-top-left-radius: 10px !important;
     border-top-right-radius: 10px !important;
     text-align: left !important;
  }

  .footer-section .container-fluid {
    padding: 0 !important;        /* Removes default Bootstrap horizontal padding */
  }

  .footer-section .row {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-section .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .hello-class{
    padding-left: 0.5px !important;
}
}