/* ============================================================
   পাথর প্রতিমা স্বামী বিবেকানন্দ সেবাশ্রম — Main Stylesheet
   ============================================================ */

/* --- Base Reset & Bengali Font --- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Hind Siliguri', sans-serif;
  color: #333;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background-color: #f3e5c0;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand img {
  height: 55px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #a84300;
  line-height: 1.3;
}

.brand-name small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #7a3200;
}

.nav-link {
  color: #a84300 !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 10px !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #d35400 !important;
}

.nav-link.active {
  border-bottom: 2px solid #d35400;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-radius: 8px;
}

.dropdown-item {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.88rem;
  color: #5a2d0c;
  padding: 8px 16px;
}

.dropdown-item:hover {
  background-color: #fff4e4;
  color: #c14c00;
}

.donate-btn {
  background-color: #c14c00;
  color: white !important;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.donate-btn:hover {
  background-color: #a93f00;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  padding: 60px 0;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('./assets/images/about.jpg') center/cover no-repeat;
}

.page-banner h1 {
  font-size: 2rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   HERO BANNER (homepage carousel)
   ============================================================ */
.carousel-item {
  height: 500px;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.carousel-caption {
  text-align: left;
  left: 10%;
  bottom: 30%;
  max-width: 550px;
}

.carousel-caption h1 {
  font-size: 1.8rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.btn-orange {
  background-color: #d35400;
  border: 2px solid #e67e22;
  color: #fff;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 30px;
  transition: background-color 0.2s;
}

.btn-orange:hover {
  background-color: #e67e22;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 30px;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
}

.carousel-image {
  position: absolute;
  right: 8%;
  bottom: 0;
  max-height: 90%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  margin: 0 4px;
}

.carousel-indicators .active {
  background-color: #e67e22;
  border-color: #e67e22;
}

@media (max-width: 768px) {
  .carousel-item { height: 400px; }
  .carousel-caption {
    bottom: 15%;
    text-align: center;
    left: 0;
    right: 0;
    max-width: 100%;
    padding: 0 20px;
  }
  .carousel-caption h1 { font-size: 1.3rem; }
  .carousel-image { display: none; }
  .page-banner h1 { font-size: 1.5rem; }
}

/* ============================================================
   BANNER BOTTOM — QUOTE CARDS
   ============================================================ */
.border-2 {
  border: 1px dashed #ccc !important;
  border-radius: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.border-2:hover {
  border: 1px dashed #d35400 !important;
  box-shadow: 0 4px 16px rgba(211, 84, 0, 0.15);
}

.border-2:hover p {
  color: #d35400;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-title {
  color: #d35400;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-divider {
  width: 35px;
  height: 2px;
  background-color: #d35400;
  display: inline-block;
  margin: 0 8px;
  vertical-align: middle;
}

.icon-box {
  background-color: #f15a24;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.info-icon {
  font-size: 1.1rem;
}

.feature-text {
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ============================================================
   TRAINING SECTION
   ============================================================ */
.trainning {
  background-color: #f5f0e6;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.text-orange {
  color: #e26700 !important;
}

.custom-btn {
  background-color: #e26700;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.custom-btn:hover {
  background-color: #c55700;
  color: #fff;
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

.owl-carousel-3 .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.owl-carousel-3 .owl-nav button.owl-prev,
.owl-carousel-3 .owl-nav button.owl-next {
  background: #e26700;
  color: #fff;
  font-size: 18px;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  pointer-events: all;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-carousel-3 .owl-nav button:hover {
  background: #c55700;
}

/* ============================================================
   STATS BOX
   ============================================================ */
.stats-box {
  background-color: #fff4e4;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  left: -40px;
  z-index: 1;
}

.stat-icon {
  font-size: 2rem;
  color: #c14c00;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
}

@media (max-width: 768px) {
  .stats-box {
    left: 0;
    margin-top: 0;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-img {
  border-radius: 12px;
  margin-bottom: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  object-fit: cover;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.section-subtitle {
  color: #a03320;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-detail::before {
  position: absolute;
  content: "";
  height: 40%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(rgba(210, 243, 235, 0.8), rgba(230, 250, 245, 0.3));
  border-radius: 10px;
  z-index: -1;
}

/* ============================================================
   BLOG DETAILS
   ============================================================ */
.blog-title {
  font-size: 1.8rem;
  color: #333;
}

.blog-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* ============================================================
   FOOTER — Premium Redesign
   ============================================================ */

/* Top accent bar */
.footer-top-bar {
  background: linear-gradient(90deg, #8B2500 0%, #C14C00 40%, #e67e22 70%, #C14C00 100%);
  height: 5px;
  width: 100%;
}

footer {
  background: #1a0a00;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow behind logo */
footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(193,76,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Logo block --- */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #C14C00;
  box-shadow: 0 0 0 3px rgba(193,76,0,0.25), 0 4px 16px rgba(0,0,0,0.5);
  flex-shrink: 0;
  background: #fff;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-org-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f3c98b;
  line-height: 1.35;
  font-family: 'Hind Siliguri', sans-serif;
}

.footer-org-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* --- Description text --- */
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
  margin-bottom: 0;
}

/* --- Divider line inside footer --- */
.footer-inner-divider {
  border-color: rgba(193,76,0,0.25) !important;
  margin: 0 0 28px 0;
}

/* --- Section headings --- */
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: #C14C00;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #C14C00;
  border-radius: 2px;
}

/* --- Nav links --- */
footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, padding-left 0.2s;
}

footer ul li a::before {
  content: '›';
  color: #C14C00;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.2s;
}

footer ul li a:hover {
  color: #f3c98b !important;
  padding-left: 4px;
}

/* --- Contact items --- */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(193,76,0,0.18);
  border: 1px solid rgba(193,76,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C14C00;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.footer-contact-item:hover .footer-contact-icon {
  background: #C14C00;
  color: #fff;
}

.footer-contact-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 1px;
}

.footer-contact-value {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-value:hover {
  color: #f3c98b;
}

/* --- Social icons --- */
.footer-social-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.footer-social-btn:hover {
  background: #C14C00;
  border-color: #C14C00;
  color: #fff;
  transform: translateY(-3px);
}

/* --- Bottom bar --- */
.footer-bottom {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(193,76,0,0.2);
  padding: 16px 0;
  margin-top: 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  text-align: center;
}

.footer-bottom a {
  color: #C14C00;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #f3c98b;
}

/* ============================================================
   ACCORDION TWEAKS
   ============================================================ */
.accordion-button:not(.collapsed) {
  background-color: #fff4e4;
  color: #c14c00;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(193, 76, 0, 0.25);
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-orange {
  color: #e26700 !important;
}

a {
  transition: color 0.2s;
}