@media (max-width: 767px) {

  .custom-card img,
  .donation-flex-card .donation-flex-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-width: 100vw !important;
    max-height: none !important;
    min-height: 0 !important;
    display: block;
    margin: 16px auto 16px auto !important;
    border-radius: 10px !important;
    background: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .custom-card,
  .donation-flex-card {
    overflow: visible !important;
  }
}

object-fit: contain !important;
width: 100% !important;
height: auto !important;
max-height: 220px !important;
border-radius: 10px !important;
background: #fff;
display: block;
margin: 0 auto;
}
}

/* Donation card: flex row layout for content and image */
.donation-flex-card .donation-flex-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

.donation-flex-card .donation-flex-content {
  flex: 2 1 0%;
  min-width: 0;
}

.donation-flex-card .donation-flex-image {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 160px;
}

@media (max-width: 767px) {
  .donation-flex-card .donation-flex-row {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .donation-flex-card .donation-flex-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .donation-flex-card .donation-flex-content {
    text-align: left;
  }
}

/* Ensure homepage rows stack in DOM order on small screens so 'Education' stays
   before 'Advertisement' when columns collapse. Scoped to front/home pages. */
@media (max-width: 767px) {

  body.home .row,
  body.front-page .row,
  .home .row,
  .front-page .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.home .row>[class*="col-"],
  body.front-page .row>[class*="col-"],
  .home .row>[class*="col-"],
  .front-page .row>[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Make tab-list paragraphs compact and preserve numbering appearance */
@media (max-width: 991px) {
  .tab-list {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
  }

  .tab-list .tab-list-item {

    /* Make columns fill width and add spacing between stacked elements */
    .home .row>[class*="col-"],
    .front-page .row>[class*="col-"] {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      box-sizing: border-box !important;
      margin-bottom: 24px !important;
    }

    /* Remove extra margin after last column */
    .home .row>[class*="col-"]:last-child,
    .front-page .row>[class*="col-"]:last-child {
      margin-bottom: 0 !important;
    }

    /* Fix mobile content padding and width */
    .container,
    .container-fluid,
    .home .container,
    .home .container-fluid {
      padding-left: 16px !important;
      padding-right: 16px !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Prevent content from sticking to left edge */
    .home .row {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    margin: 0 0 0.4rem 0 !important;
    padding: 0 !important;
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  /* Normalize tab appearance on small screens (fix active/inactive contrast) */
  @media (max-width: 480px) {
    .nav-pills.custom-tabs {
      -webkit-overflow-scrolling: touch;
      overflow-x: auto;
      white-space: nowrap;
    }

    .nav-pills.custom-tabs .nav-link {
      color: #333333 !important;
      background: transparent !important;
      padding: 8px 12px !important;
      margin-right: 8px !important;
      border-radius: 10px !important;
      box-shadow: none !important;
      border: 0 !important;
    }

    .nav-pills.custom-tabs .nav-link.active {
      color: var(--readmore-color, #e46d3d) !important;
      background: rgba(228, 109, 61, 0.06) !important;
      border: 1px solid rgba(228, 109, 61, 0.12) !important;
      font-weight: 600 !important;
    }

    .nav-pills.custom-tabs .nav-link:focus,
    .nav-pills.custom-tabs .nav-link:active {
      outline: none !important;
      box-shadow: none !important;
    }
  }
}

/* Ensure rows that contain section headers align their columns to the top
   so adjacent action buttons (View All) sit level with the header. Uses
   :has() which is supported in modern Chromium-based browsers (Edge/Chrome). */
@media (max-width: 991px) {
  .row:has(.section-header) {
    align-items: flex-start !important;
  }

  .row:has(.section-header) [class*="col-"] {
    align-self: flex-start !important;
  }

  .row:has(.section-header) .view-all-btn {
    margin-top: 0 !important;
  }
}


/* Fix: allow long section headings and hero titles to wrap on tablets/mobile
   to prevent text clipping caused by inline `white-space:nowrap` or
   container overflow. Applies up to 991px (phones + tablets). */
@media (max-width: 991px) {

  /* Section and hero headings */
  .edu-title,
  .section-title,
  .section-header h2,
  .hero-title,
  .hero-desc,
  .view-all-btn {
    white-space: normal !important;
    /* prefer breaking at word boundaries; avoid breaking inside words */
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  /* Ensure buttons / labels don't overflow their container */
  .view-all-btn {
    display: inline-block;
    max-width: 100% !important;
  }

  /* Prevent parent column clipping where possible */
  [class*="col-"] {
    overflow: visible !important;
  }

  /* Ensure section headers align to top and actions sit at the right */
  .section-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100%;
  }

  .section-header>.view-all-btn,
  .section-header .view-all-btn {
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  /* Make the smaller variant used by Government Schemes match the
     primary view-all button styling on mobile/tablet so both appear
     visually identical and align to the top-right of the header. */
  .section-header .view-all-btn.view-all-btn--sm {
    padding: 10px 12px !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: auto !important;
    align-self: flex-start !important;
  }

  /* Normalize view-all button variants so Government Schemes matches Spiritual
   across desktop, tablet and mobile. Keeps same visual weight and spacing. */
  .section-header .view-all-btn,
  .section-header a.view-all-btn,
  .section-header .view-all-btn.view-all-btn--sm,
  .section-header a.view-all-btn.view-all-btn--sm {
    padding: 10px 16px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    box-sizing: border-box !important;
  }

  @media (max-width: 991px) {

    .section-header .view-all-btn,
    .section-header .view-all-btn.view-all-btn--sm {
      padding: 10px 12px !important;
      min-width: 120px !important;
      font-size: 0.95rem !important;
    }
  }

  @media (max-width: 480px) {

    .section-header .view-all-btn,
    .section-header .view-all-btn.view-all-btn--sm {
      padding: 8px 12px !important;
      min-width: 0 !important;
      font-size: 0.95rem !important;
    }
  }

  /* Make sure hero/large titles scale down nicely */
  .hero-title {
    font-size: clamp(20px, 5vw, 28px) !important;
    line-height: 1.15 !important;
  }
}

/* Force homepage background image (highest priority) */
body.home,
body.page-template-Homepage-template {
  background: url('../images/home-bg.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
  background-color: #fff6f0 !important;
}

/* Hide TablePress edit links on frontend */
.tablepress-edit-link-wrapper,
#edit-link-0 {
  display: none !important;
}

body,
body.custom-wavy-bg {
  background:
    linear-gradient(120deg, #fbeeee 0%, #fff6f0 100%),
    radial-gradient(ellipse 80% 30% at 50% 80%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.0) 80%),
    radial-gradient(ellipse 60% 20% at 60% 90%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.0) 80%),
    radial-gradient(circle at 20% 70%, rgba(255, 220, 200, 0.18) 0%, rgba(255, 255, 255, 0.0) 60%),
    radial-gradient(circle at 80% 60%, rgba(255, 220, 200, 0.12) 0%, rgba(255, 255, 255, 0.0) 70%),
    radial-gradient(circle at 40% 90%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.0) 80%) !important;
  background-blend-mode: lighten, lighten, lighten, lighten, lighten, normal !important;
}

/* Make images and media fluid by default for responsive layouts */
img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --readmore-gradient: linear-gradient(90deg, #e46d3d, #c64627);
  --readmore-color: #e46d3d;
}

/* Talent Hunt Read More Button (matches About Us section) */
.talent-hunt-btn-readmore {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  background: #fff;
  color: #e46d3d;
  border: 2px solid #e46d3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}


.talent-hunt-btn-readmore:hover,
.talent-hunt-btn-readmore:focus,
.view-all-btn:hover,
.view-all-btn:focus {
  background: #f18537;
  color: #fff;
  border-color: #f18537;
  text-decoration: none;
}

/* Standardized "View All" button used on homepage */
.view-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #111;
  font-weight: 600;
  border: solid 1px #F18537;

  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(228, 109, 61, 0.08);
  transition: background .15s, color .15s, transform .08s;
}

.view-all-btn i {
  color: #F18537;
  margin-left: 8px;
}



.view-all-btn:hover,
/* Slight left indent so numbers align visually with content */
.view-all-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

button>a.view-all-btn:hover,
button>a.view-all-btn:focus {
  background: var(--readmore-gradient);
  color: #fff;
  border-color: var(--readmore-color);
  transform: translateY(-2px);
  text-decoration: none;
}

.view-all-btn--sm {
  padding: 6px 12px;
  font-size: 0.95rem;
  border-radius: 8px;
}

/* Ensure `.view-all-btn--sm` looks identical to the primary `.view-all-btn`
   when used inside different header containers (Government header uses
   generic d-flex .bg wrapper). This forces matching padding, radius,
   and prevents wrapping which caused the taller stacked button. */
.view-all-btn.view-all-btn--sm,
.d-flex.align-items-center.justify-content-between .view-all-btn.view-all-btn--sm,
.bg .view-all-btn.view-all-btn--sm {
  padding: 10px 16px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-width: 140px !important;
  height: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {

  .view-all-btn.view-all-btn--sm,
  .d-flex.align-items-center.justify-content-between .view-all-btn.view-all-btn--sm,
  .bg .view-all-btn.view-all-btn--sm {
    padding: 10px 12px !important;
    min-width: 120px !important;
    font-size: 0.95rem !important;
  }
}

/* Responsive button and heading adjustments */
@media (max-width: 991px) {
  .view-all-btn {
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .view-all-btn--sm {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .section-header {
    gap: 6px;
  }

  .section-title,
  .goverment-header {
    font-size: 1.6rem;
  }
}

/* Hero responsive tweaks */
@media (max-width: 1100px) {
  .hero-img-container {
    max-height: 420px;
  }

  .hero-img-container img {
    max-height: 420px;
  }

  .hero-desc {
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .hero-img-container {
    max-height: 320px;
  }

  .hero-img-container img {
    max-height: 320px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .btn-custom {
    padding: 10px 18px;
  }

  .bottom-strip-container {
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
  }
}

@media (min-width: 1200px) {



  /* allow slight overlap only on large screens */
  .bottom-strip-container {
    margin-top: -84px;
  }
}

@media (max-width: 767px) {
  .view-all-btn {
    display: inline-block;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .section-title,
  .goverment-header {
    font-size: 1.4rem;
  }


  /* Two-action header layout (mobile/tablet): keep heading on one line,
   place first action to the top-right and stack the second action below it */
  @media (max-width: 991px) {
    .section-header.has-two-actions {
      display: flex !important;
      align-items: flex-start !important;
      gap: 12px !important;
    }

    .section-header.has-two-actions h2,
    .section-header.has-two-actions .section-title {
      white-space: nowrap !important;
      margin: 0 !important;
      flex: 0 0 auto !important;
      padding-right: 8px !important;
    }

    .section-header.has-two-actions>div {
      margin-left: auto !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-end !important;
      gap: 8px !important;
    }

    .section-header.has-two-actions>div a:first-child {
      display: inline-block !important;
    }

    .section-header.has-two-actions>div a:nth-child(2) {
      display: inline-block !important;
      margin-top: 8px !important;
    }
  }

  .section-header {
    width: 100%;
    justify-content: flex-start;
  }

  .section-header>div,
  .section-header>a {
    margin-left: 0;
  }
}

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

  font-family: "Catamaran", sans-serif;

}

html,
body {
  width: 100%;
  overflow-x: hidden !important;
}

/* start navbar */

a.nav-link {
  font-size: 19px;
}



header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}

.nav-item-1 {
  padding-left: 25px;
}

.nav-link {
  color: black;
  font-weight: 600;
  font-size: 16px;
  font-family: "Catamaran", sans-serif;
}

.nav-link:hover {
  color: orange;
}



nav .button {
  background-color: #e75719;
  border-radius: 50px;
  padding: 15px;
  font-weight: 600;
  margin-top: -15px;
  transition: 0.5s;
}

nav .button i {
  background-color: #F18537;
  padding: 10px;
  border-radius: 50px;
  margin-left: 10px;

}

nav .button:hover {
  background-color: rgb(219, 168, 73);
  transform: translateY(-5px)scale(1.05);

}

.navbar {

  position: relative;

  z-index: 1000;
  background-image: url('../images/navbar_bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-bottom: 20px;

}

/* Ensure mobile slide-out menu is hidden on desktop and desktop navbar is visible */
@media (min-width: 992px) {
  .right-menu {
    right: -1000px !important;
    visibility: hidden !important;
    display: none !important;
  }

  .menu-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .navbar-collapse {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

li {

  list-style: none;

}


.designs .col-md-3 img {

  border-top-left-radius: 30px;

  border-top-right-radius: 30px;

}

.bg-color {

  background-color: #F18537;

}

button.btn.fw600 {
  border: 1px solid #f18537;
}

/* End navbar */

.navbar-brand.site-branding {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 16px;
}

.navbar-brand.site-branding .custom-logo-link {
  display: block;
  line-height: 0;
}

img.custom-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
}


/* DROPDOWN */

.dropdown-menu-custom-m {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s ease;

  padding-left: 15px;

}



.dropdown-menu-custom-m .dropdown li:hover {

  background-color: #f18537;

  color: white;



}

.dropdown-menu-custom-m li a {

  font-size: 18px;

  /* color: #555; */

  font-weight: 600;



}





/* OPEN STATE */

.menu-dropdown-m.active .dropdown-menu-custom-m {

  /* Allow more items to be visible on mobile; enable vertical scrolling if needed */
  max-height: 1000px;
  overflow-y: auto;

}



/* ARROW ROTATE */

.arrow {

  transition: transform 0.3s ease;

  font-size: 31px;

  margin-right: 80px
}

b {
  font-size: 17px;
  font-weight: bolder;
}

.menu-dropdown-m .active .arrow {

  transform: rotate(180deg);

}

/* RIGHT MENU */
.right-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 215px;
  height: 100vh;
  background: #e67e22;
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 9999;
  overflow-y: auto;
}

.right-menu-list li {
  list-style: none;
  /* margin-bottom: 10px; */
}

.right-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: 16px;
  padding: 10px 0;
  /* border-bottom: solid 1px gray; */
}

.custom-dropdown .nav-link {
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Text aur icon ke beech gap */
  transition: color 0.3s ease;
}

.custom-dropdown .dropdown-toggle::after {
  display: none;
}

.dropdown-arrow {
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  color: #000000;
  font-weight: bolder;
}

.nav-link.show .dropdown-arrow {
  transform: rotate(180deg);
  color: #f18537;
}

.custom-dropdown .dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 15px !important;

  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.custom-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown .dropdown-item {
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 500;
  color: #555;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-dropdown .dropdown-item:hover {
  background-color: #fff3e0;
  color: #f18537;
  padding-left: 28px;
  transform: translateX(5px);
}

.custom-dropdown .dropdown-item:hover::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f18537;
  border-radius: 50%;
}

/* Toggle Button */
.menu-toggle {
  margin-left: auto;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;

}


button#openMenu {
  padding: 0px 14px;
  border: solid 1px white;
  background: white;
  border-radius: 10px;
  font-weight: 600;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  /* Must sit above the fixed header on mobile so the overlay covers it */
  z-index: 3000;
}



/* Active */
.right-menu.active {
  right: 0;
  transform: translateZ(0);
  /* Force new stacking context */
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* When menu is active, push header and main content */
body.mobile-menu-active header {
  transform: translateZ(0);
}

body.mobile-menu-active main {
  padding-top: var(--header-offset-mobile) !important;
}

/* Close */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
}

/* Menu List */
.right-menu-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

/* .right-menu-list li {
    margin-bottom: 16px !important; */
/* } */

.right-menu-list a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}



.about-img img {
  transition: 1s ease;
}

.about-img:hover img {
  transform: scale(1.03);
}

/* End right menu */


.activity-line {

  background-color: #fff;
  text-align: center;
  color: #f18537;
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  border: 1px solid #ededed;

}

.activity-line span {

  background-color: #424140;

  padding: 10px 20px;

  font-weight: 600;

  color: white;

  padding-bottom: 12px !important;

  padding-top: 20px !important;
  margin-left: -30px;



}





/* --- Hero Section Background --- */
.hero {
  background-image: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-bottom: 20px;
}

/* --- Typography --- */
.hero-title {
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.1;
  margin-bottom: 15px;
}

.text-highlight {
  color: #d35400;
}

.hero-desc {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
  /* Limits text width for cleaner look */
}

/* --- Buttons --- */
.btn-custom {
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-orange {
  background: #f18537;
  color: white !important;
  font-weight: 600;
  border: none;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
}

.btn-orange:hover {
  background: #a04000;
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: #333;
  border: 1px solid #ddd;
  margin-left: 15px;
  transition: 0.3s;
}

.btn-white:hover {
  border-color: #d35400;
  color: #d35400;
  ;
}

.hero-img-container {
  /* Use max-height and allow image to scale for responsiveness */
  height: auto;
  max-height: 610px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.hero-img-container img {
  width: 100%;
  height: auto;
  max-height: 610px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
}

.bottom-strip-container {
  margin-top: 40px;
  display: flex;
  align-items: stretch;
  position: relative;
  gap: 20px;
  /* remove negative overlap by default; use responsive positioning below */
  z-index: 1;
}

.qr-wrapper {
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  /* Fixed width */
}

.qr-wrapper img {
  width: 90px;
  height: 90px;
}

.info-strip {
  flex-grow: 1;
  border: 2px dashed #e67e22;
  background-color: rgba(255, 245, 230, 0.5);
  border-radius: 10px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

.info-icon i {
  font-size: 2rem;
  color: #d35400;
}

.info-text h6 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #444;
}

.info-text span {
  font-size: 0.8rem;
  color: #777;
}

/* --- Slider Arrows (Hover Visible) --- */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #d35400;
  border-radius: 50%;
  background-size: 50%;
  padding: 20px;
}



/* --- Abous Us css--- */

.about-us {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about-us .border-radius {
  border-radius: 15px;
}

.about-image {
  margin-top: 110px;
}

/* --- End  Abous Us css--- */



/* === Histore section ===*/
.custom-tabs .nav-link {
  color: #555;
  background-color: transparent;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 500;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.custom-tabs .nav-link:hover {
  background-color: #f8f9fa;
  color: #fd7e14;
}

.custom-tabs .nav-link.active {
  background-color: #fd7e14;
  color: #fff;
  border-color: #fd7e14;
  box-shadow: 0 4px 6px rgba(253, 126, 20, 0.3);
}

/* Mobile-friendly tabs: keep tabs on a single scrollable row so the active
   tab (Mission) remains prominent instead of stacking vertically. Also
   tighten padding on smaller screens for better fit. */
.custom-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  align-items: center;
}

.custom-tabs .nav-item {
  flex: 0 0 auto;
}

.custom-tabs .nav-link {
  padding: 10px 16px;
  min-width: auto;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .custom-tabs .nav-link {
    padding: 8px 12px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .custom-tabs .nav-link.active {
    box-shadow: 0 6px 12px rgba(253, 126, 20, 0.28) !important;
  }
}

.custom-tab-content {
  padding: 15px 0;
  min-height: 150px;
}

.text-orange {
  color: #fd7e14;
  font-weight: 600;
}

.btn-outline-orange {
  color: #fd7e14;
  border: 1px solid #fd7e14;
  background: transparent;
  padding: 8px 24px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-outline-orange:hover {
  background: #fd7e14;
  color: #fff;
}

/* === End  Histore Section ===*/

/* Section Header Alignment Fix */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-header h2,
.section-header .btn,
.section-header a.btn {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-header h2.fw-bold {
  font-size: 1.5rem;
  color: #333;
}

.section-header button.btn {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 15px;
}

.section-header button.btn a {
  text-decoration: none;
  color: #c45d3e;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-header button.btn:hover {
  background: #c45d3e;
  border-color: #c45d3e;
}

.section-header button.btn:hover a {
  color: #fff;
}


/* ====Eduction Section=== */
.eductions {
  margin-top: 30px;
}



.mou-body a {
  /* display: inline-block;
    padding: 3px 10px 0px 10px;
    text-decoration: none;
    border: 2px solid #ffd5d5;
    border-radius: 7px; */
  text-decoration: none;
}

.sec_left {
  width: 100%;
}

.mou-img-wrapper {
  height: 177px;
  overflow: hidden;
}

.mou-img-wrapper img {
  height: 200px;
  width: 100%;
}

.custom-tab-btn {
  border-radius: 8px !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.custom-tab-btn {
  background-color: #fae3d9;
  color: #5a5a5a;
}

.nav-pills .nav-link.active.custom-tab-btn {
  background-color: #f37021 !important;
  color: white !important;
}

.nav-pills .nav-link.custom-tab-btn:hover {
  background-color: #ffccbc;
  color: #333;
}

.custom-table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 14px;
}

.custom-table tbody td {
  font-size: 14px;
  color: #444;
}

.e-magazine-sectioneducation-slider-container {
  margin-top: -30px;
}

/* Remove old add-header, use .section-header for both headings */

.edu-title {
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  font-size: 2rem;
}

.edu-view-btn {
  background: transparent;
  border: 1px solid #3498db;
  color: #2980b9;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.edu-view-btn:hover {
  background: #2980b9;
  color: #fff;
}

/* --- Renamed Card Design --- */
.education-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.education-card-thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px;
  overflow: hidden;
}

.education-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.education-featured-image,
.detail-featured-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9fbff;
  border-radius: 12px;
  padding: 18px;
}

.education-featured-image img,
.detail-featured-image img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

.education-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.education-card .card-body h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.education-card .card-body p {
  font-size: 0.85rem;
  color: #546e7a;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1 1 auto;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Renamed Read More Button --- */
.edu-read-more {
  border: 1px solid #aed6f1;
  color: #1a5276;
  background: #fdfefe;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  text-decoration: none;
  /* Remove underline */
}

.edu-read-more:hover {
  background: #1a5276;
  color: white;
  border-color: #1a5276;
}

.edu-read-more::after {
  content: '>';
  font-weight: bold;
}

.swiper {
  width: 100%;
  padding-bottom: 40px;
  padding-left: 5px;
  padding-right: 5px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(44, 62, 80, 0.8);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
  opacity: 1;
}

/* ==== end Right Section=== */


/* ---Event Section--- */


.events {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.custom-nav-tabs {

  border-bottom: 2px solid #e9ecef;
  justify-content: center;
  margin-bottom: 40px;

}

/* Remove the heavy underline on small screens where tabs are scrollable */
@media (max-width: 480px) {
  .custom-nav-tabs {
    border-bottom: none !important;
    margin-bottom: 14px !important;
  }

  /* Also remove any stray divider under nav-pills when stacked */
  .nav.nav-pills.custom-tabs.mb-3 {
    border-bottom: none !important;
  }
}

.custom-nav-tabs .nav-link {
  border: none;
  background: transparent;
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 20px;
  position: relative;
  transition: color 0.3s ease;

}

.custom-nav-tabs .nav-link:hover {
  color: #F18537;
}



/* The Active State (Green Underline) */
.custom-nav-tabs .nav-link.active {
  color: #F18537;
  background: transparent;
}

.custom-nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #F18537;
}


/* 2. Card Styling */


.card-custom {
  border: none;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background: #ffe5db !important;
  /* Light orange background restored and forced */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}



.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.card-img-wrapper {
  height: 190px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background-color: #f0f0f0;
}



.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-custom:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.25rem;
}


.card-text {
  color: #666;
  ;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}


/* Link Styling */
.card-link-custom {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.card-link-custom i {
  margin-left: 8px;
  color: #F18537;
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.card-link-custom:hover {
  color: #F18537;
}

.card-link-custom:hover i {
  transform: translateX(4px);
}



/* --- End Event Section--- */



/* --- offer section--- */

.offer {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.icon1 img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(88%) saturate(513%) hue-rotate(346deg);
}


/* section */
.add-section {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

/* header */
.add-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 0 5px;

  /* Make Spiritual slider and Government Schemes card equal-height using flexbox */
  .Spiritual .row.g-3.align-items-start {
    align-items: stretch;
  }

  .Spiritual .slider-section,
  .Spiritual .wtt {
    display: flex;
    flex-direction: column;
  }

  .Spiritual .slider-section .swiper,
  .Spiritual .slider-section .swiper-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .Spiritual .swiper .swiper-wrapper {
    flex: 1 1 auto;
  }

  .Spiritual .scheme-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .Spiritual .scheme-list-wrapper {
    flex: 1 1 auto;
    overflow: auto;
  }

  .Spiritual .slider-section .education-card,
  .Spiritual .slider-section .swiper-slide {
    height: 100%;
  }

  .Spiritual .education-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

.add-title {
  font-weight: 700;
  color: #3e2723;
  font-size: 2rem;
  margin: 1rem 0 0 0;
}

.add-btn {
  background: transparent;
  border: 1px solid #e0c9c9;
  color: #c45d3e;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}

.add-btn:hover {
  background: #c45d3e;
  color: #fff;
}

/* card */
.add-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 360px;
}

.add-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}

/* Utility to align section headings horizontally */
.section-header-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.section-header-row>.e-magazine-header,
.section-header-row>.add-header {
  margin-bottom: 0;
}


.card-body {
  padding: 15px;
}

.card-title {
  font-weight: 700;
  color: #3e2723;
  font-size: 1.1rem;
}


.card-text {
  font-size: 0.75rem;
  color: #7a7a7a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;

}

/* read more */
.add-read-more {
  border: 1px solid #eecbc0;
  color: #bf360c;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 6px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.add-read-more:hover {
  background: #fd7e14;
  color: #fff;
  border-color: #fd7e14;
}

.add-read-more::after {
  content: '>';
  font-weight: bold;
}

/* swiper */
.swiper {
  padding-bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(62, 39, 35, 0.7);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  opacity: 0;
  transition: .3s;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
  opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

/* --- end offer section--- */


/* === Panchang=== */
.Panchang {
  list-style: none;
  padding: 0;
  margin: 0;
}

.Panchang li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.Panchang li a:hover {
  color: #f18537;
  background: #fff7f1;
  padding-left: 22px;
}

/* Panchang Gallery */
.panchang-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

.panchang-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.panchang-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.panchang-image-wrapper {
  width: 100%;
  background: #f9f9f9;
  text-align: center;
}

.panchang-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.panchang-caption {
  padding: 16px 20px;
  background: #fff;
  border-top: 3px solid #f37021;
}

.panchang-caption h5 {
  font-size: 18px;
  font-weight: 700;
  color: #3e2723;
  margin: 0 0 4px;
}

.panchang-caption p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* === End  Panchang=== */

/* ---Spiritul section --- */
/* Container styling to match the image texture */
.Spiritual {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}



.swiper-wrapper {
  position: relative;
  width: 100%;
  height: auto !important;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}

.section-title {
  font-weight: 700;
  color: #3e2723;
  margin: 0;
  font-size: 2rem;
}

.top-btn {
  background: transparent;
  border: 1px solid #e0c9c9;
  color: #c45d3e;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.top-btn:hover {
  background: #c45d3e;
  color: #fff;
}

.Spiritual .spiritual-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.Spiritual .spiritual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.Spiritual .spiritual-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.Spiritual .spiritual-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.Spiritual .spiritual-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.Spiritual .spiritual-card-text {
  font-size: 0.85rem;
  color: #546e7a;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1 1 auto;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ensure Spiritual header provides spacing so cards don't collide with buttons */
.Spiritual .section-header {
  margin-bottom: 18px;
}

/* Responsive tweaks: reduce fixed heights on small screens */
@media (max-width: 767px) {
  .Spiritual .section-header {
    margin-bottom: 12px;
  }

  .Spiritual .spiritual-card {
    min-height: auto;
  }

  .scheme-list-wrapper {
    height: auto;
    max-height: 400px;
  }

  .section-header {
    justify-content: space-between;
  }
}

.spiritual-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  background: #fff;
  color: #e46d3d;
  border: 2px solid #e46d3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  align-self: flex-start;
  margin-top: auto;
}

.spiritual-read-more i {
  font-size: 1rem;
  color: inherit;
  transition: transform 0.2s ease;
}

.spiritual-read-more:hover {
  background: linear-gradient(90deg, #e46d3d, #c64627);
  color: #fff;
  border-color: #e46d3d;
}

.spiritual-read-more:hover i {
  transform: translateX(4px);
}


.custom-card {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.custom-card img {
  width: 100%;
  height: 170px;
}

.card-img-top {
  height: 140px;
  width: 100%;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3e2723;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.75rem;
  color: #7a7a7a;
  line-height: 1.5;

  display: -webkit-box;
  /* -webkit-line-clamp: 3; */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.btn-read-more {
  border: 1px solid #eecbc0;
  color: #bf360c;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.btn-read-more:hover {
  background: #e46d3d;
  color: white;
  border-color: #e46d3d;
}

.btn-read-more::after {
  content: '>';
  font-weight: bold;
}


.swiper {
  width: 100%;
}




.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(62, 39, 35, 0.7);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  opacity: 0;
  transition: .3s;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
  opacity: 1;
  /* VISIBLE ON HOVER */
}

/* ---- End spiritul section--- */





/* ===== E-MAGAZINE SECTION ===== */
.e-magazine-section {
  margin-top: 0;
  padding-top: 0;
}

.wt,
.tt {
  margin-top: 0;
  padding-top: 0;
}

.e-magazine-section .section-header,
.mou-content .section-header {
  margin-top: 0;
  padding-top: 0;
}

.mou-content {
  margin-top: 0;
  padding-top: 0;
}

.e-magazine-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.e-magazine-title {
  font-size: 2rem;
  font-weight: 700;
  color: #3e2723;
}

.e-magazine-btn {
  background: transparent;
  border: 1px solid #e0c9c9;
  color: #c45d3e;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: .3s;
}

.e-magazine-btn:hover {
  background: #e46d3d;
  color: #fff;
}

/* Card */
.e-magazine-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  height: 100%;
}

.e-magazine-card img {
  height: 168px;
  width: 100%;
  object-fit: contain;
  background: #f5f5f5;
}

.e-magazine-card .card-body {
  padding: 15px;
}

.e-magazine-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 28px;
  color: #3e2723;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.e-magazine-card p {
  font-size: .75rem;
  color: #7a7a7a;
  line-height: 1.5;
  margin-bottom: 15px;
}


.e-magazine-readmore {
  border: 1px solid #eecbc0;
  color: #bf360c;
  background: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 6px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .3s;
}

.e-magazine-readmore:hover {
  background: #e46d3d;
  color: #fff;
}

.e-magazine-readmore::after {
  content: ">";
  font-weight: bold;
}

/* Swiper */
.e-magazine-swiper {
  padding-bottom: 30px;
}

.e-magazine-swiper .swiper-wrapper {
  align-items: stretch;
}

.e-magazine-swiper .swiper-button-next,
.e-magazine-swiper .swiper-button-prev {
  background: rgba(62, 39, 35, .7);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  opacity: 0;
  transition: .3s;
}

.e-magazine-swiper:hover .swiper-button-next,
.e-magazine-swiper:hover .swiper-button-prev {
  opacity: 1;
}

.e-magazine-swiper .swiper-button-next::after,
.e-magazine-swiper .swiper-button-prev::after {
  font-size: 14px;
  color: #fff;
}

/* Force equal heights for e-magazine slides/cards */
.e-magazine-swiper .swiper-slide {
  height: auto !important;
  display: flex;
}

.e-magazine-swiper .swiper-slide .e-magazine-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.e-magazine-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.e-magazine-card .card-body h5 {
  min-height: 56px;
  /* Reserve 2 lines for title */
}

.e-magazine-card .card-body p {
  flex: 1 1 auto;
  margin: 0 0 15px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 3.375em;
  /* Reserve space for 3 lines even when empty */
}

.e-magazine-card .card-body .e-magazine-btn,
.e-magazine-card .card-body>a.btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- End  E-magazine--- */



/* --- Goverment css--- */

/* Container Styling */

.scheme-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.bg {
  background-color: #feefef;

}

h3 {
  font-size: 1.7rem !important;
}

.goverment-header {
  font-size: 1.7rem !important;
  font-weight: 700;
  padding: 18px 20px;
  margin: 0;
}

.scheme-list-wrapper {
  height: 352px;
  overflow: hidden;
}

.goverment {
  list-style: none;
  padding: 0;
  margin: 0;
}

.goverment li {
  border-bottom: 1px solid #bfbfbf;
}

.goverment li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.goverment li a:hover {
  color: #f18537;
  background: #fff7f1;
  padding-left: 22px;
}

/* --- End goverment css--- */

/* --- Tlant hunt-- */
.section-wrapper {
  background: url('../images/home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


.section-title {
  color: #4a2c2a;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* --- White Card Container --- */
.white-card {

  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding-bottom: 10px;
}

.donation h5 {
  font-size: 22px !important;
}

/* --- TALENT HUNT STYLES (Left Side) --- */
.talent-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a2c2a;
  line-height: 38px;
  margin-bottom: 10px;
}

.talent-content p {
  color: #7a7a7a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-register {
  background: linear-gradient(90deg, #e46d3d, #c64627);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
}

.talent-img {
  max-width: 100%;
  /* height is controlled by inline style for admin configurability */
  /* Overlap bottom effect */
}

/* --- DONATION CARD STYLES (Right Side - The Fix) --- */



.qr-box {
  width: 100%;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 5px;
  margin-left: 100px;
}

.qr-box img {
  width: 50%;
  display: block;
}

.btn-donate {
  background: linear-gradient(90deg, #378b42, #266e2d);
  color: white;
  border: none;
  padding: 8px 0;
  width: 100%;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Right part  Donate */
/* Donation card custom width and centering styles rolled back to default */
font-size: 16px !important;
}

.fs16 {
  font-size: 16px;
}

.ph {
  padding: 10px 18px;
}

.fs60 {
  font-size: 47px;
}

.light-orange {
  background-color: bisque;
}

.d-flex-1 {
  display: flex;
  gap: 15px;
}

.fs14 {
  font-size: 14px;
}

.row-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.fs30 {

  font-size: 30px;
}

.fs18 {
  font-size: 18px;
}

.bg-gray {
  background-color: lightgray;
}

.border-1 {
  border: solid 1px #dee2e6;
  border-radius: 10px;
}

.btn {
  border: solid 1px #F18537;
  color: black;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(206, 206, 205, 0.4);
}

.btn:hover {
  background: #F18537;
  color: white;
  transform: translateY(-2px);
}

.btn:hover a {
  color: white !important;
}

.btn a {
  text-decoration: none;
  color: black;
}

.btn:hover i {

  transform: translateX(6px);

  color: white !important;
}

i {
  color: #f18537;
}

.fw600 {
  font-weight: 600;
}


.orange {
  color: #F18537 !important;
}

h2 {
  font-size: 1.8rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.image img {
  border-radius: 15px;
}

h1 {
  font-size: 45px;

}



h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Catamaran", sans-serif;

}

/* -- End Basic Css-- */



/* --- footer--- */


.footer-logo img {
  width: 90%;
}

.footer-main {
  background: #f9c1a8 !important;
  color: #000000;
  font-size: 14px;
}

.footer-main h6 {
  color: #000000;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-main a {
  color: #000000;
  text-decoration: none;
  font-size: 18px;
}

.footer-main a:hover {
  color: #ff9c2a;
}


footer .icons i {


  font-size: 23px;

  cursor: pointer;
  color: #000000 !important;
  transition: 0.5s;

}


footer .icons i:hover {

  /* background-color: #a8e026; */

  background-color: white;

  color: #f18537 !important;

  padding: 5px;

  border-radius: 50%;
}



.footer-list {
  list-style: none;
  padding: 0;
  margin-left: 20px;
}

.footer-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.icons i {
  color: #fff !important;
  font-size: 24px;
  padding-right: 15px;

}

.footer-bottom {
  padding: 25px 0;
}

.footer-main .col-6 {
  margin-bottom: 20px;
}

.pl {
  padding-left: 10px;
}

.footer-end {
  background-color: #42322b !important;
  ;
  color: #d8d2cf;
}

.footer-end p {
  margin-bottom: 0;
}

/* --- End footer--- */





/* ===  470px === */

@media(max-width:470px) {

  .about-us .col-md-8 {
    border-right: 1px solid white !important;
  }

  .hero-img-container img {
    padding-top: 15px;
    width: 100%;
    height: 260px;
  }

  .section-header {
    display: block !important;
  }

  .section-header button {
    margin-left: 15px;
  }

  .mou-content {
    padding-bottom: 20px;
  }

  .e-magazine-section {
    margin-top: 40px;
    padding-bottom: 0px !important;
  }

  .offer .col-md-8 {
    border-right: 1px solid white !important;
    margin-bottom: 0 !important;
  }

  .Spiritual .col-md-8 {
    border-right: 1px solid white !important;

  }

  .section-wrapper .col-md-8 {
    border-right: 1px solid white !important;
  }

  .e-magazine-section {
    margin-top: 30px;
  }

  .hero {
    margin-top: 85px;
  }

  .row-1 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mv {
    margin-top: 0.5rem;
  }

  .border-end {
    display: none;
  }

  .mb {
    font-size: 22px;
  }

  .mbb {
    margin-top: 1rem;
  }


  .mtt {
    margin-top: 10px;
  }

  .tx {
    text-align: center;
    margin-bottom: 20px;
  }

  .card-body {
    padding: 30px;
  }

  .fs {
    font-size: 18px;
  }

  .info-text span {
    font-size: 18px !important;
  }


  .bottom-strip-container {
    flex-direction: column;
  }

  .info-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .custom-card img {
    width: 100%;
    height: 250px;
  }

  .qr-wrapper {
    padding: 20px;
  }

  .dn {
    display: none;
  }

  .hero-title br {
    display: none;
  }

  br {
    display: none !important;
  }

  p {
    font-size: 18px !important;
  }

  .icon1 img {
    width: 23%;
  }

  .white-card {
    display: inline-block !important;
    width: 100%;
  }

  .qr-box {
    margin-left: 89px;
  }

  .donation-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .app_icon {
    width: 170px !important;
  }

  .border-bottom1 {
    margin-top: 35px !important;
  }

  .footer-logo img {
    width: 50%;
  }

  .e-magazine-card img {
    height: 200px;
    width: 100%;
  }

  .arrow {
    margin-right: 60px !important;
  }
}




/* === 470px  with to 768px=== */
@media(min-width:470px) and (max-width:767px) {

  .mou-body {
    padding-bottom: 40px !important;
  }


  .border-bottom1 {
    margin-top: 50px !important;
  }

  .hero-img-container img {
    padding-top: 20px;
    width: 100%;
    height: 320px;
  }

  .e-magazine-section {
    margin-top: 40px;
    padding-bottom: 0px !important;
  }


  .qr-box {
    margin-left: 115px !important;
  }

  .mou-img {
    height: 300px;
  }

  .about-us .col-md-8 {
    border-right: 1px solid white !important;
  }

  .offer .col-md-8 {
    border-right: 1px solid white !important;
  }

  .Spiritual .col-md-8 {
    border-right: 1px solid white !important;

  }

  .mou-content {
    padding-bottom: 20px;
  }

  .section-wrapper .col-md-8 {
    border-right: 1px solid white !important;
  }

  .e-magazine-section {
    margin-top: 30px;
  }

  .mtt {
    margin-top: 10px;
  }

  .hero {
    margin-top: 85px;
  }

  .nav-pills .nav-link.tab-workers {

    font-size: 18px;
  }


  .nav-pills .nav-link.tab-students {
    font-size: 18px;
  }

  .nav-pills .nav-link.tab-business {
    font-size: 18px;

  }

  .nav-pills .nav-link.tab-seniors {
    font-size: 18px;
  }

  .tx {
    margin-bottom: 20px;
    margin-left: 20px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .footer-logo img {
    width: 50%;
  }

  .custom-card img {
    width: 100%;
    height: 300px;
  }

  .e-magazine-card img {
    width: 100%;
    height: 265px !important;
  }

  .icon1 img {
    width: 23%;
  }

  p {
    font-size: 18px !important;
  }

  .activity-line span {
    margin-left: -60px;
  }



  .row-1 {
    grid-template-columns: 1fr;
  }

  .mv {
    margin-top: 3rem;
  }

  .border-end {
    display: none;
  }

  .mb {
    font-size: 22px;
  }

  .mbb {
    margin-top: 1rem;
  }

  .card-body {
    padding: 30px;
  }

  .e-magazine-card img {
    width: 100%;
    height: 210px;
  }
}

/* ===768px with 1100px ==== */

@media(min-width:767px) and (max-width:1100px) {
  .mou-content {
    padding-bottom: 20px;
  }


  .border-bottom1 {
    margin-top: 50px !important;
  }


  .hero-img-container img {
    padding-top: 23px;
    width: 100%;
    height: 400px;
  }

  .about-us .col-md-8 {
    border-right: 1px solid white !important;
  }

  .qr-box {
    margin-left: 160px !important;
  }

  .hero {
    padding-top: 125px;
  }

  .e-magazine-section {
    margin-top: 40px;
    padding-bottom: 0px !important;
  }

  .section-wrapper .col-md-8 {
    border-right: 1px solid white !important;
  }

  .Spiritual .col-md-8 {
    border-right: 1px solid white !important;

  }

  .about-us .col-md-8 {
    flex: 0 0 auto;
    width: 100%;
  }

  .about-us .col-md-4 .mw {
    width: 500px;
  }

  .activity-line span {
    margin-left: -40px;
  }

  .card-img-wrapper {
    height: auto;
  }

  .tx {
    text-align: center;
  }

  .activity-line marquee {
    width: 86% !important;
  }

  .mtt {
    margin-top: 0px !important;
  }

  .about-us .col-md-4.mw {
    width: 380px;
    margin-top: 45px;
  }

  .about-us .col-md-4.mw.df {
    display: -webkit-inline-box;
    gap: 2-px;
    gap: 2;
    /* width: 1; */
  }

  p {
    font-size: 18px !important;
  }

  .mb {
    font-size: 22px;
  }

  /* Ensure Vision / Mission / Values are left-aligned on mobile & tablet */
  @media (max-width: 1100px) {

    .about-us .tab-content,
    .about-us .tab-content p,
    .about-us .tab-content ul,
    .about-us .tab-content li,
    .about-us .tab-content .sec_left {
      text-align: left !important;
    }

    .about-us .tab-content ul {
      padding-left: 1.25rem !important;
    }

    .about-us .tab-content p {
      margin-left: 0 !important;
    }
  }

  /* Stronger override: force all text inside about tab panes to left on smaller screens */
  @media (max-width: 1100px) {

    .about-us .home-about-us .tab-content .tab-pane,
    .about-us .home-about-us .tab-content .tab-pane * {
      text-align: left !important;
    }

    .about-us .home-about-us .tab-content .tab-pane ul {
      padding-left: 1.25rem !important;
    }
  }

  /* Final fallback: extremely specific selectors to override any centering rules */
  @media (max-width: 1100px) {

    #pills-tabContent.tab-content .tab-pane,
    #pills-tabContent.tab-content .tab-pane *,
    .about-us .home-about-us #pills-tabContent .tab-pane,
    .about-us .home-about-us #pills-tabContent .tab-pane * {
      text-align: left !important;
    }

    /* Target muted paragraphs and list items explicitly */
    .about-us .home-about-us #pills-tabContent .tab-pane p.text-muted,
    .about-us .home-about-us #pills-tabContent .tab-pane ul.list-unstyled.text-muted,
    .about-us .home-about-us #pills-tabContent .tab-pane ul.list-unstyled.text-muted li {
      text-align: left !important;
      margin-left: 0 !important;
    }

    /* Ensure bullets / numbers align left */
    .about-us .home-about-us #pills-tabContent .tab-pane ul.list-unstyled.text-muted {
      padding-left: 1.25rem !important;
    }
  }

  .qr-wrapper {
    display: block;
  }

  .row-1 {
    grid-template-columns: 1fr 1fr;
  }

  .nav-item-1 {
    padding-left: 10px !important;
  }

  .wtt {
    width: 90%;
    padding-bottom: 20px;
  }

  .footer-logo img {
    width: 100%;
  }

  .wt {
    width: 100%;
  }

  .wttt {
    width: 100%;
    margin-top: 2rem;
    margin-right: 30px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .custom-card img {
    width: 100%;
    height: 200px;
  }

  c .info-strip {
    flex-wrap: nowrap;
  }

  .mbk {
    font-size: 22px;
  }

  .mbb {
    margin-top: 1rem;
  }

  .nav-pills .nav-link.tab-workers {

    font-size: 20px;
  }


  .nav-pills .nav-link.tab-students {
    font-size: 20px;
  }

  .nav-pills .nav-link.tab-business {
    font-size: 20px;

  }

  .nav-pills .nav-link.tab-seniors {
    font-size: 20px;

  }

  .kk {
    width: 100%;
  }

  .col-md-4.kkk {
    width: 630px;
    margin-top: 3rem;
  }

  .donation-left-col.pb-4 {
    width: 135px;
  }

  .mv {
    margin-top: 3rem !;
  }

  .tt {
    width: 70%;
  }

  .e-magazine-card img {
    height: 140px !important;
    width: 100%;
  }



}





/* ===== PREMIUM MOBILE NAVBAR ===== */
@media (max-width: 991px) {

  nav.navbar {
    padding: 10px 0;
  }

  /* Mobile menu container */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    margin-top: 15px;
    padding: 20px 15px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease;
  }

  /* When open */
  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
  }

  /* Nav items */
  .navbar-nav {
    gap: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  /* Hover / tap effect */
  .navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, #fff3e0, #ffe0c2);
    transform: translateX(4px);
  }
}







/* Mobile Adjustments */
@media (max-width: 991px) {


  .hero-title {
    font-size: 2.5rem;
  }
}



@media(min-width:1100px) and (max-width:1400px) {

  .edu-header h2 {
    font-size: 30px;
  }

  .app_icon {
    width: 150px !important;
  }

  .border-bottom1 {
    margin-top: 62px !important;
  }

  .mou-body {
    padding-bottom: 17px !important;
  }

  .mou-img img {
    height: 175px !important;
  }

  .col-md-12.tt {
    margin-top: 56px;
  }

  .goverment-header {
    font-size: 22px !important;
  }

  .e-magazine-header {
    margin-top: .25px !important;
  }

  .donation h5 {
    font-size: 19px !important;
  }

  .footer-logo img {
    width: 100%;
  }

  .qr-box {
    margin-left: 80px;
  }

  .e-magazine-card img {
    height: 130px;
    width: 100%;
  }

}

@media(min-width:1200px) and (max-width:1400px) {
  .mou-img-wrapper img {
    height: 155px;
    width: 100%;
  }

  .mou-img-wrapper {
    height: 143px;
    overflow: hidden;
  }

}




.home-about-us {
  background: #ffe6de;
  padding: 20px 15px;
  border-radius: 20px;
}

/* Utility class to remove extra space from specific section containers.
   Avoid applying to global layout helpers like `.container` or `.row` which
   can break Bootstrap responsiveness. */
.section-no-space,
.wt {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* TablePress Table Styling Fix */
.tablepress {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

.tablepress th {
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
  padding: 10px;
  border: 1px solid #ddd;
}

.tablepress td {
  padding: 10px;
  border: 1px solid #ddd;
}

.tablepress tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tablepress tr:hover {
  background-color: #f1f1f1;
}

/* TablePress Table Alignment Fix */
.tablepress th {
  text-align: left;
  vertical-align: middle;
}

.tablepress td {
  text-align: left;
  vertical-align: middle;
}

/* ===== Header offset (consolidated) ===== */
:root {
  --header-offset-desktop: 110px;
  --header-offset-tablet: 80px;
  --header-offset-mobile: 70px;
}

body .container.py-5,
.entry-content,
main {
  margin-top: var(--header-offset-desktop) !important;
}

@media (max-width: 991px) {

  body .container.py-5,
  .entry-content,
  main {
    margin-top: var(--header-offset-tablet) !important;
  }
}

@media (max-width: 767px) {

  body .container.py-5,
  .entry-content,
  main {
    margin-top: var(--header-offset-mobile) !important;
  }
}

/* ===== ABOUT US PAGE ENHANCED STYLES ===== */
.entry-content,
.container.py-5 {
  background: #fffaf3;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  margin-bottom: 40px;
}

/* Ensure columns stack cleanly on small screens when Bootstrap rules are overridden elsewhere */
@media (max-width: 767px) {

  .col-md-8,
  .col-md-6,
  .col-md-4,
  .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.container.py-5 h1,
.container.py-5 h2,
.container.py-5 h3 {
  color: #f57c00;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.entry-content p,
.container.py-5 p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.entry-content ul,
.container.py-5 ul {
  background: #fff;
  padding: 25px 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  list-style: none;
  margin-bottom: 24px;
}

.entry-content ul li,
.container.py-5 ul li {
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
  font-size: 15px;
}

.entry-content ul li::before,
.container.py-5 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f57c00;
  font-weight: bold;
  font-size: 18px;
}

.entry-content ul ul li::before,
.container.py-5 ul ul li::before {
  content: "→";
  color: #888;
  font-size: 16px;
  left: 0;
  font-weight: normal;
}

.entry-content section,
.container.py-5 section,
.entry-content div,
.container.py-5 div {
  margin-bottom: 40px;
}

@media (max-width: 768px) {


  /* Agrawal Talent Hunt card style for mobile */
  .home .agrawal-talent-hunt-section,
  .front-page .agrawal-talent-hunt-section {
    background: #ffe7d6 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07) !important;
    padding: 20px 16px 24px 16px !important;
    margin: 16px 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .home .agrawal-talent-hunt-section img,
  .front-page .agrawal-talent-hunt-section img {
    margin: 0 auto 12px auto !important;
    max-width: 180px !important;
    height: auto !important;
    display: block !important;
  }

  .home .agrawal-talent-hunt-section h1,
  .front-page .agrawal-talent-hunt-section h1 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 12px 0 10px 0 !important;
    color: #3d1a00 !important;
    text-align: center !important;
  }

  .home .agrawal-talent-hunt-section p,
  .front-page .agrawal-talent-hunt-section p {
    font-size: 1.1rem !important;
    color: #4a2c13 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .home .agrawal-talent-hunt-section .read-more-btn,
  .front-page .agrawal-talent-hunt-section .read-more-btn {
    margin: 12px auto 0 auto !important;
    display: inline-block !important;
    background: #fff !important;
    border: 2px solid #ffb98a !important;
    border-radius: 8px !important;
    color: #3d1a00 !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    font-size: 1rem !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04) !important;
    transition: background 0.2s, color 0.2s;
  }

  .home .agrawal-talent-hunt-section .read-more-btn:hover,
  .front-page .agrawal-talent-hunt-section .read-more-btn:hover {
    background: #ffb98a !important;
    color: #fff !important;
  }

  .home .row>[class*="col-"],
  .front-page .row>[class*="col-"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Center logo and heading on mobile */
  .home .row>[class*="col-"]:first-child {
    text-align: center !important;
  }

  .home .row>[class*="col-"] h1,
  .home .row>[class*="col-"] h2 {
    font-size: 2rem !important;
    text-align: center !important;
  }

  /* Reduce font size for mobile */
  .home .row>[class*="col-"] p {
    font-size: 1rem !important;
  }

  .entry-content,
  .container.py-5 {
    padding: 25px 12px;
  }
}

/* ===== ABOUT US PAGE TABS ===== */
.aboutus-tabs {
  margin: 40px 0;
}

.aboutus-tab-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.aboutus-tab-btn {
  background: #fff;
  border: 2px solid #f57c00;
  color: #f57c00;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.aboutus-tab-btn.active,
.aboutus-tab-btn:hover {
  background: #f57c00;
  color: #fff;
}

.aboutus-tab-content {
  display: none;
  background: #fffaf3;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
}

.aboutus-tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .aboutus-tab-content {
    padding: 25px 12px;
  }

  .aboutus-tab-buttons {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== Header / Nav responsive fixes ===== */
:root {
  --header-offset-desktop: 110px;
  --header-offset-tablet: 80px;
  --header-offset-mobile: 70px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, padding 0.15s;
}

main,
.entry-content,
body .container.py-5 {
  margin-top: var(--header-offset-desktop) !important;
}

@media (max-width: 991px) {
  :root {
    --header-offset-desktop: var(--header-offset-tablet);
  }

  header {
    padding: 10px 0;
  }

  main,
  .entry-content,
  body .container.py-5 {
    margin-top: var(--header-offset-tablet) !important;
  }

  .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-offset-desktop: var(--header-offset-mobile);
  }

  header {
    padding: 8px 0;
  }

  main,
  .entry-content,
  body .container.py-5 {
    margin-top: var(--header-offset-mobile) !important;
  }

  .nav-link {
    font-size: 14px;
  }

  .navbar-collapse {
    margin-top: 8px;
    padding: 16px;
  }
}

/* Ensure mobile menu items are easily tappable */
.navbar-collapse .nav-link {
  padding: 12px 10px;
}

/* ===== Typography & spacing responsive tweaks ===== */
body {
  font-size: 16px;
}

@media (max-width: 991px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14.5px;
  }
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

/* Section titles already have rules; ensure they scale down */
.section-title {
  font-size: 2rem;
}

@media (max-width: 991px) {
  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.4rem;
  }
}

/* Make columns stack nicely on small screens */
@media (max-width: 767px) {
  .row.g-3.align-items-start {
    display: block;
  }

  .Spiritual .slider-section,
  .Spiritual .wtt {
    width: 100%;
  }
}

/* Small visual polish for buttons on very small viewports */
@media (max-width: 420px) {
  .view-all-btn {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/* Homepage-specific responsive overrides (compact, priority overrides) */
@media (max-width: 480px) {

  header .custom-logo,
  img.custom-logo {
    width: 140px;
    max-width: 40%;
    height: auto;
  }

  header {
    padding: 8px 12px;
  }

  .nav-link {
    font-size: 14px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-img-container {
    max-height: 260px;
  }

  .bottom-strip-container,
  .info-strip {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .qr-wrapper {
    min-width: auto;
    justify-content: flex-start;
  }

  .row-1 {
    grid-template-columns: 1fr;
  }

  .card-custom,
  .education-card,
  .spiritual-card,
  .e-magazine-card {
    min-height: auto;
  }

  .donation-right-col {
    align-items: center;
  }
}

@media (min-width: 481px) and (max-width: 767px) {

  header .custom-logo,
  img.custom-logo {
    width: 160px;
    max-width: 45%;
  }

  header {
    padding: 10px 16px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
    max-width: 85%;
  }

  .hero-img-container {
    max-height: 320px;
  }

  .row-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-strip {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {

  header .custom-logo,
  img.custom-logo {
    width: 190px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-img-container {
    max-height: 420px;
  }

  .row-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {

  header .custom-logo,
  img.custom-logo {
    width: 220px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .row-1 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* End of responsive fixes */

/* ==========================
   MASTER RESPONSIVE RULES
   - Scales images/containers
   - Stacks nav on small screens
   - Breakpoints: 1200, 768, 480
   - Uses flex/grid for collapsing columns
   ========================== */

:root {
  --site-max-width: 1200px;
  --gutter: 20px;
  --container-padding-desktop: 28px;
  --container-padding-tablet: 18px;
  --container-padding-mobile: 12px;
}

/* Make media scalable by default (reinforce) */
img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Prevent horizontal overflow globally */
html,
body {
  width: 100%;
  overflow-x: hidden !important;
}

/* Responsive typography using clamp to keep proportions similar */
h1 {
  font-size: clamp(1.6rem, 4.2vw, 3rem);
}

h2 {
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
}

h3 {
  font-size: clamp(1rem, 2.6vw, 1.4rem);
}

.hero-title {
  font-size: clamp(1.4rem, 4.6vw, 2.6rem);
}

.section-title {
  font-size: clamp(1.25rem, 3.6vw, 2rem);
}

/* Container padding that adjusts by breakpoint */
.container,
.entry-content,
body .container.py-5 {
  padding-left: var(--container-padding-desktop);
  padding-right: var(--container-padding-desktop);
}

@media (max-width: 1199px) {

  .container,
  .entry-content,
  body .container.py-5 {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }
}

@media (max-width: 767px) {

  .container,
  .entry-content,
  body .container.py-5 {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }
}

/* Flexible grid for cards and rows (row-1 used across site) */
.row-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

@media (max-width: 1199px) {
  .row-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .row-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .row-1 {
    grid-template-columns: 1fr;
  }
}

/* Make cards behave consistently across sizes */
.card-custom,
.education-card,
.spiritual-card,
.e-magazine-card,
.add-card {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: clamp(10px, 2vw, 18px) !important;
}

.card-img-wrapper img,
.e-magazine-card img,
.custom-card img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
}

/* Keep homepage E-Magazine cards the same height.
   A later global card-image rule can otherwise make thumbnail height depend on
   the uploaded image aspect ratio, which causes uneven cards. */
.home .e-magazine-section .e-magazine-swiper .swiper-slide,
.front-page .e-magazine-section .e-magazine-swiper .swiper-slide {
  height: auto !important;
  display: flex;
}

.home .e-magazine-section .e-magazine-card,
.front-page .e-magazine-section .e-magazine-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media {
  position: relative;
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  flex: 0 0 180px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #ddd;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media::before,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--thumb-url);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(10px);
  z-index: 1;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media::after,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media--pdf::before,
.home .e-magazine-section .e-magazine-card .e-magazine-card-media--pdf::after,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media--pdf::before,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media--pdf::after {
  content: none;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff4ea 0%, #ffe5d2 100%);
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder::before,
.home .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder::after,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder::before,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media--placeholder::after {
  content: none;
}

.home .e-magazine-section .e-magazine-card .e-magazine-card-media-label,
.front-page .e-magazine-section .e-magazine-card .e-magazine-card-media-label {
  font-size: 1rem;
  font-weight: 700;
  color: #b64f1f;
  border: 1px solid rgba(182, 79, 31, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
}

.home .e-magazine-section .e-magazine-card img,
.home .e-magazine-section .e-magazine-card .pdf-thumb-canvas,
.front-page .e-magazine-section .e-magazine-card img,
.front-page .e-magazine-section .e-magazine-card .pdf-thumb-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  max-height: 100% !important;
  object-fit: contain;
  background: transparent;
}

.home .e-magazine-section .e-magazine-card .card-body,
.front-page .e-magazine-section .e-magazine-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.home .e-magazine-section .e-magazine-card .card-body h5,
.front-page .e-magazine-section .e-magazine-card .card-body h5 {
  min-height: 56px;
}

.home .e-magazine-section .e-magazine-card .card-body p,
.front-page .e-magazine-section .e-magazine-card .card-body p {
  flex: 1 1 auto;
  min-height: 3.375em;
}

.home .e-magazine-section .e-magazine-card .card-body .e-magazine-btn,
.home .e-magazine-section .e-magazine-card .card-body>a.btn,
.front-page .e-magazine-section .e-magazine-card .card-body .e-magazine-btn,
.front-page .e-magazine-section .e-magazine-card .card-body>a.btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 480px) {

  .card-img-wrapper img,
  .e-magazine-card img,
  .custom-card img {
    max-height: 140px;
  }

  .home .e-magazine-section .e-magazine-card img,
  .home .e-magazine-section .e-magazine-card .pdf-thumb-canvas,
  .front-page .e-magazine-section .e-magazine-card img,
  .front-page .e-magazine-section .e-magazine-card .pdf-thumb-canvas {
    height: 100% !important;
    min-height: 100%;
    max-height: 100% !important;
  }

  .home .e-magazine-section .e-magazine-card .e-magazine-card-media,
  .front-page .e-magazine-section .e-magazine-card .e-magazine-card-media {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    flex-basis: 140px;
  }
}

/* Buttons scale but keep proportions */
.btn,
.view-all-btn,
.edu-read-more,
.btn-read-more,
.add-read-more,
.e-magazine-readmore {
  padding: clamp(6px, 1.6vw, 12px) clamp(12px, 3vw, 20px);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* Header & nav: desktop unchanged; stack nav on smaller viewports */
nav.navbar .navbar-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

@media (max-width: 991px) {
  nav.navbar .navbar-nav {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .navbar-collapse {
    width: 100%;
    padding: 12px !important;
  }

  .nav-link {
    padding: 10px 14px !important;
    font-size: 15px;
  }

  header {
    padding: 8px 12px;
  }
}

/* Section header alignment: ensure title truncation doesn't break layout */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.section-header>* {
  min-width: 0;
}

.section-header .section-title,
.section-header .goverment-header {
  flex: 1 1 auto;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Make sure small-screen header doesn't wrap the button to new line */
@media (max-width: 480px) {
  .section-header {
    gap: 8px;
  }

  .section-header .view-all-btn {
    flex: 0 0 auto;
  }
}

/* Info strip and bottom strip stack cleanly */
.bottom-strip-container,
.info-strip {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {

  .bottom-strip-container,
  .info-strip {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Specific mobile offsets removal (common culprit) */
.qr-box,
.qr-wrapper,
.donation-right-col {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Reduce large font sizes on very small screens to prevent breaks */
@media (max-width: 480px) {
  body {
    font-size: 14.5px;
  }

  .hero-title {
    line-height: 1.06;
  }

  .section-title {
    margin-bottom: 12px;
  }
}

/* Accessibility: ensure tappable targets */
.navbar-nav .nav-link,
.view-all-btn,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Final safety: avoid unexpected overflow on any child */
* {
  box-sizing: border-box;
}

/* End MASTER RESPONSIVE RULES */

/* Mobile column ordering: ensure main (col-md-8) appears before sidebar (col-md-4) when stacked */
@media (max-width: 767px) {

  /* Apply only when columns are direct children of a row to avoid unintended global reordering */
  .row>.col-md-8 {
    order: 1;
    -webkit-order: 1;
  }

  .row>.col-md-4 {
    order: 2;
    -webkit-order: 2;
  }

  /* If there are 3-column layouts, keep sidebars after main content */
  .row>.col-md-3 {
    order: 3;
    -webkit-order: 3;
  }
}

/* Additional mobile alignment fixes to override older rules that force mis-alignment */
@media (max-width: 480px) {

  /* Keep section header items on a single row when space allows, otherwise keep spacing consistent */
  .section-header {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
  }

  /* Ensure title and button don't inherit large margins */
  .section-header>* {
    margin: 0 !important;
  }

  .section-header .view-all-btn,
  .section-header a.view-all-btn {
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: center;
  }

  /* Remove hard-coded left offsets used for larger layouts */
  .qr-box,
  .qr-box img,
  .qr-wrapper {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Make sure cards use full width and remove extra horizontal padding/margins */
  .card-custom,
  .education-card,
  .spiritual-card,
  .e-magazine-card,
  .add-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  /* Reset any large left padding on container-like blocks */
  .info-strip,
  .white-card,
  .entry-content,
  .container.py-5 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Smaller read-more buttons on tiny screens */
  .edu-read-more,
  .btn-read-more,
  .add-read-more,
  .e-magazine-readmore,
  .view-all-btn {
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
  }

  /* Ensure hero image and caption stay visually balanced */
  .hero-img-container img {
    height: auto !important;
    max-height: 260px !important;
    object-position: center top !important;
  }
}

/* Further micro-adjustments for pixel-aligned mobile layout */
@media (max-width: 480px) {

  /* Make header title shrink and the button keep to the right */
  .section-header {
    gap: 10px;
  }

  .section-header .section-title,
  .section-header .goverment-header {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
  }

  .section-header .view-all-btn,
  .section-header a.view-all-btn {
    flex: 0 0 auto;
    margin-left: 6px !important;
    align-self: center;
  }

  /* Reduce inner paddings so card heights match desktop feel */
  .card-body {
    padding: 12px !important;
  }

  .card-img-wrapper,
  .card-img-top,
  .education-card-thumb,
  .e-magazine-card img,
  .custom-card img {
    height: 140px !important;
    max-height: 140px !important;
    overflow: hidden;
    object-fit: cover;
  }

  /* Make the Read More button appear at the same vertical alignment as desktop */
  .card-body>.edu-read-more,
  .card-body>.add-read-more,
  .card-body>.btn-read-more,
  .card-body>.e-magazine-readmore {
    margin-top: 14px !important;
  }

  /* Prevent extra horizontal scroll and forced offsets */
  html,
  body {
    overflow-x: hidden !important;
  }
}

@media (min-width: 481px) and (max-width: 767px) {

  /* Medium-small screens: keep header items inline and reduce any large offsets */
  .section-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .qr-box,
  .qr-wrapper {
    margin-left: 0 !important;
  }

  .card-custom,
  .education-card,
  .spiritual-card {
    width: 100% !important;
  }
}

/* Strong mobile stacking override — ensure main columns appear before sidebars */
@media (max-width: 767px) {

  /* Make rows flex columns so `order` works predictably (overrides any display:block rules) */
  .row,
  .row.g-3.align-items-start {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
  }

  /* Main content first */
  .row .col-md-8,
  .row .col-lg-8,
  .col-8,
  .col-sm-8,
  .main,
  .content-area {
    order: 1 !important;
  }

  /* Sidebars after main */
  .row .col-md-4,
  .row .col-lg-4,
  .col-4,
  .col-sm-4,
  .sidebar,
  .widget-area {
    order: 2 !important;
  }

  /* Any narrow columns later */
  .row .col-md-3,
  .row .col-lg-3,
  .col-3 {
    order: 3 !important;
  }

  /* Ensure section headers span full width when stacked */
  .section-header {
    width: 100%;
  }
}

/* Mobile tab underline removal — defensive, scoped to small viewports */
@media (max-width: 480px) {

  .nav.nav-pills.custom-tabs,
  .nav-pills.custom-tabs,
  .nav-pills.custom-tabs .nav-link,
  .nav-pills.custom-tabs .nav-item,
  .nav-pills.custom-tabs::after,
  .nav-pills.custom-tabs::before {
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* Remove any pseudo-element used for an underline/hairline */
  .nav-pills.custom-tabs *::after,
  .nav-pills.custom-tabs *::before {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Defensive: remove hairlines on the immediate header container */
  .home-about-us,
  .home-about-us>div,
  .home-about-us .row {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  /* Ensure nav pills spacing remains consistent */
  .nav-pills.custom-tabs {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Homepage Spiritual card image: fixed-size rounded thumbnail with no white gaps */
.home .Spiritual .spiritual-card-img,
.front-page .Spiritual .spiritual-card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 0 !important;
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.home .Spiritual .spiritual-card-media,
.front-page .Spiritual .spiritual-card-media {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #ddd;
}

.home .Spiritual .spiritual-card-media::before,
.front-page .Spiritual .spiritual-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--thumb-url);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(10px);
  z-index: 1;
}

.home .Spiritual .spiritual-card-media::after,
.front-page .Spiritual .spiritual-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

@media (max-width: 991px) {

  .home .Spiritual .spiritual-card-media,
  .front-page .Spiritual .spiritual-card-media {
    height: 140px !important;
  }

  .home .Spiritual .spiritual-card-img,
  .front-page .Spiritual .spiritual-card-img {
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}