body{  background: #f6f2eb !important;
  color:#2b2b2b; }

html,body{
  margin:0;
  padding:0;
  width:100%;
  font-family:'Segoe UI',Arial,sans-serif;
  background:#f4f6f9;
}

/* ❌ NEVER CENTER BODY */
body{
  display:block !important;
}


/* ===== HEADER ===== */
.site-header{
    background:linear-gradient(90deg,#ff512f,#dd2476);
    color:#fff;
    padding:20px;
}


.header-image img{
    width:110px;
    height:auto;
    border-radius:10px;
    background:#fff;
    padding:5px;
}

.header-text{
    text-align:center;
}

.header-text h1{
    margin:0;
    font-size:28px;
}
.header-text h4{
    margin-top:6px;
    font-size:18px;
    opacity:0.9;
}


@keyframes glow{
    from{ text-shadow:0 0 5px #ffcc00; }
    to{ text-shadow:0 0 20px #ff9900,0 0 30px #ff6600; }
}

/* 🌸 FLOWER */
.flower-divider{
    text-align:center;
    font-size:22px;
    margin:10px 0;
}

/* ===== VILLAGE BAR ===== */
.village-bar{
    background:#fff;
    padding:10px;
    text-align:center;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
.village-bar a{ margin:3px; }
.village-bar .active{
    background:#28a745 !important;
    color:#fff !important;
}

/* ===== TABLE ===== */
.table thead{
    background:#343a40;
    color:#fff;
}
.table th,.table td{
font-size: 14px;
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 220px;
    line-height: 1.4;
}

/* ===== FOOTER ===== */
.site-footer{
    background:#343a40;
    color:#fff;
    text-align:center;
    padding:15px;
    margin-top:30px;
}
.site-footer small{ opacity:0.85; }


.dashboard_style a {
    text-decoration: none !important;
}


/* ===== TOP BAR ===== */
.top-bar{
  background: linear-gradient(90deg,#5b1616,#7a1c1c,#5b1616) !important;
  color:#ffd87d;
  text-align:center;
  padding:8px;
  font-size:15px;
  font-weight:700;
  letter-spacing:1px;
  box-shadow:0 3px 8px rgba(0,0,0,.4);
  animation: glow 3s infinite alternate;
}

@keyframes glow{
  from{box-shadow:0 0 5px #ff5252;}
  to{box-shadow:0 0 20px #ff0000;}
}

/* ===== HEADER ===== */
.main-header{
   background: linear-gradient(135deg,#fff8ee,#f4e7d3) !important;
  position:relative;
  z-index:10;
}

/* Decorative line */
.main-header::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#b71c1c,#ff9800,#b71c1c);
}

/* ===== CONTENT ===== */
.header-content{
  padding:12px 20px;
}

/* ===== MATAJI IMAGE ===== */
.main-header img{
  border-radius:50%;
  border:3px solid #b71c1c;
  box-shadow:0 0 15px rgba(183,28,28,.8);
  animation: floatImg 4s ease-in-out infinite;
}

@keyframes floatImg{
  0%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
  100%{transform:translateY(0);}
}

/* ===== TITLE ===== */
.samaj-title{
  font-size:40px;
  font-weight:900;
  letter-spacing:4px;
    color:#7a1c1c !important;
  text-shadow: 2px 2px 0 #fff, 4px 4px 10px rgba(0,0,0,.2);
  margin:0;
  animation: fadeDown 1s ease;
}

@keyframes fadeDown{
  from{opacity:0; transform:translateY(-20px);}
  to{opacity:1; transform:translateY(0);}
}

/* ===== HOVER EFFECT ===== */
.samaj-title:hover{
  color:#ff0000;
  text-shadow:0 0 15px rgba(255,0,0,.8);
  transition:.3s;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .samaj-title{
    font-size:26px;
    letter-spacing:2px;
  }

  .main-header img{
    height:60px;
  }
}

/* ================= ROOT ================= */
:root{
  --primary:#b71c1c;
  --secondary:#ff7043;
  --accent:#ffd54f;
  --bg1:#fff3e0;
  --bg2:#ffe0b2;
  --dark:#4e0000;
}

/* ================= BODY ================= */


/* ================= CONTAINER ================= */
.container{
  position:relative;
}

/* ================= CARD ================= */
.card{
  border:none;
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 25px 50px rgba(0,0,0,.25),
    inset 0 0 0 rgba(255,255,255,.3);
  animation: liftUp .9s cubic-bezier(.23,1,.32,1);
}

/* Floating effect */
@keyframes liftUp{
  from{
    opacity:0;
    transform:translateY(60px) scale(.95);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* ================= CARD HEADER ================= */
.card-header{
  background:
    linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  padding:18px;
  font-size:18px;
  letter-spacing:1px;
  position:relative;
}

/* Header shine */
.card-header::after{
  content:'';
  position:absolute;
  inset:0;
 pointer-events: none;
}

@keyframes shine{
  from{transform:translateX(-100%);}
  to{transform:translateX(100%);}
}

/* ================= CARD BODY ================= */
/* .card-body{
  padding:30px;
} */

/* ================= LABEL ================= */
.form-label{
  font-weight:700;
  color:var(--dark);
  letter-spacing:.5px;
}

/* ================= INPUTS ================= */
.form-control,
.form-select{
  border-radius:35px;
  padding:14px 22px;
  border:2px solid #eee;
  background:#fff;
  transition:.35s;
}

/* Focus glow */
.form-control:focus,
.form-select:focus{
  border-color:var(--primary);
  box-shadow:
    0 0 0 4px rgba(183,28,28,.15),
    0 10px 25px rgba(183,28,28,.25);
  transform:translateY(-1px);
}

/* ================= BUTTONS ================= */
.btn-success{
  border-radius:40px;
  padding:12px 36px;
  font-weight:700;
  letter-spacing:1px;
  background:
    linear-gradient(135deg,#1b5e20,#4caf50);
  border:none;
  transition:.35s;
  position:relative;
  overflow:hidden;
}

/* Button ripple light */
.btn-success::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle,rgba(255,255,255,.45),transparent 60%);
  opacity:0;
  transition:.4s;
}

.btn-success:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 15px 30px rgba(76,175,80,.6);
}

.btn-success:hover::after{
  opacity:1;
}

.btn-secondary{
  border-radius:40px;
}

/* ================= SUCCESS ALERT ================= */
.alert-success{
  border:none;
  border-radius:35px;
  background:
    linear-gradient(135deg,#c8e6c9,#e8f5e9);
  color:#1b5e20;
  font-weight:700;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  animation: popGlow .6s ease;
}

@keyframes popGlow{
  from{
    transform:scale(.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

/* ================= FORM ================= */
form{
  margin-top:10px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .card-body{
    padding:22px;
  }
  .btn-success,
  .btn-secondary{
    width:100%;
    margin-bottom:10px;
  }
}

/* dashbord  */
/* ================= ADMIN PANEL ================= */

.admin-wrapper{
  min-height:100vh;
  background:#f4f6f9;
}

/* SIDEBAR */
.admin-sidebar{
  background:#212529;
  color:#fff;
  min-height:100vh;
  padding:20px;
}

.admin-sidebar a{
  display:block;
  color:#fff;
  padding:10px 12px;
  margin-bottom:6px;
  border-radius:6px;
  text-decoration:none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active{
  background:#0d6efd;
}

/* TOPBAR */
.admin-topbar{
  background:#fff;
  padding:15px 20px;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.1);
}

/* STATS */
.stat-card{
  background:#fff;
  border-radius:15px;
  padding:20px;
  text-align:center;
  box-shadow:0 5px 20px rgba(0,0,0,.1);
  transition:.3s;
}

.stat-card:hover{
  transform:translateY(-6px);
}

.stat-card h2{
  color:#0d6efd;
  font-weight:800;
}
/* footer */
/* ===== FOOTER BASE ===== */
.main-footer{
  position:relative;
  background:linear-gradient(135deg,#5d0000,#b71c1c,#ff7043);
  overflow:hidden;
}

/* Glow animation layer */
.footer-glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,215,0,.25),transparent 40%),
    radial-gradient(circle at 80% 80%,rgba(255,255,255,.15),transparent 45%);
  animation: glowMove 8s linear infinite;
  pointer-events:none;
}

@keyframes glowMove{
  0%{transform:translateY(0);}
  50%{transform:translateY(-20px);}
  100%{transform:translateY(0);}
}

/* Titles */
.footer-title{
  color:#ffd700;
  font-weight:800;
  margin-bottom:12px;
  letter-spacing:.5px;
}

/* Text */
.main-footer p,
.main-footer a,
.main-footer small{
  color:#fff;
  font-size:14px;
  text-decoration:none;
}

/* Map link */
.map-link{
  display:inline-block;
  margin-top:6px;
  font-weight:600;
}
.map-link:hover{
  color:#ffd700;
  text-decoration:underline;
}

/* Social icons */
.social-icons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  background:#fff;
  color:#b71c1c;
  border-radius:50%;
  margin-right:6px;
  transition:.35s;
}

.social-icons a:hover{
  background:#ffd700;
  transform:translateY(-6px) scale(1.15);
}

/* QR box */
.qr-box{
  background:#fff;
  padding:12px;
  border-radius:14px;
  display:inline-block;
  animation: qrPulse 2.5s infinite;
}

.qr-box img{
  width:120px;
}

@keyframes qrPulse{
  0%{box-shadow:0 0 0 rgba(255,215,0,.4);}
  50%{box-shadow:0 0 30px rgba(255,215,0,.9);}
  100%{box-shadow:0 0 0 rgba(255,215,0,.4);}
}

/* Google map */
.footer-map iframe{
  width:100%;
  height:260px;
  border:0;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}

/* Footer bottom */
.footer-bottom{
  background:#3b0000;
  color:#ffd700;
  text-align:center;
  padding:12px;
  font-size:13px;
  letter-spacing:.5px;
}

/* Responsive */
@media(max-width:768px){
  .footer-map iframe{
    height:220px;
  }
}

.section-title{
  font-weight:700;
  color:#8b0000;
  border-bottom:3px solid #ffd700;
  display:inline-block;
  padding-bottom:6px;
}

.institution-card{
  border-radius:16px;
  background:#fff7ec;
  transition:.4s;
}

.institution-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 35px rgba(0,0,0,.2);
}


/* ================= LEADER CARDS ================= */
.leader-card{
  border-radius:18px;
  background:#fff7ec;
  transition:.3s;
}
.leader-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}
.leader-img{
  height:220px;
  object-fit:cover;
}

/* ================= MEMBER CARDS ================= */
.member-card{
  border-radius:14px;
  transition:.3s;
}
.member-card:hover{
  transform:scale(1.03);
}
.member-img{
  height:180px;
  object-fit:cover;
}

/* ================= ROLE TITLE ================= */
.role-title{
  font-weight:800;
  color:#8b0000;
  border-bottom:3px solid #ffd700;
  display:inline-block;
  padding-bottom:6px;
}

/* ===== SLIDER ===== */
.slider-img{
  object-fit:cover;
  filter:brightness(70%);
}

.carousel-caption{
  bottom:35%;
}
.carousel-caption h2{
  font-size:42px;
  font-weight:800;
  text-shadow:0 0 10px #000;
}

/* ===== INSTITUTION CARD ===== */
.institution-card{
  border-radius:16px;
  transition:.3s;
}
.institution-card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}

/* ===== DONATION ===== */
.donation-section{
  background:linear-gradient(135deg,#7a0000,#ff7043);
  color:#fff;
}
.donation-qr{
  width:140px;
  margin-top:15px;
  border-radius:12px;
  background:#fff;
  padding:10px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25d366;
  color:#fff;
  font-size:26px;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 10px 20px rgba(0,0,0,.3);
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{box-shadow:0 0 0 rgba(37,211,102,.6);}
  70%{box-shadow:0 0 25px rgba(37,211,102,1);}
  100%{box-shadow:0 0 0 rgba(37,211,102,.6);}
}


.carousel-inner{
  background:#000;
}

.carousel-caption{
  background: rgba(0,0,0,.45);
  padding:20px;
  border-radius:16px;
}

.carousel-caption h2{
  color:#ffd87d;
}

.carousel-caption p{
  color:#fff;
}

/* ================= SECTION BACKGROUND ================= */
.section-bg{
  background:#f4e7d3;
  border-radius:20px;
  padding:40px;
}

/* ================= INSTITUTION CARD ================= */
.institution-card{
  background:#fff;
  border-radius:18px;
  border:1px solid #e6dcc8;
}

.institution-card h5{
  color:#7a1c1c;
}

.institution-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* ================= DONATION ================= */
.donation-section{
  background: linear-gradient(135deg,#7a1c1c,#9b2c2c);
  color:#fff;
}

.donation-section h3{
  color:#ffd87d;
}

/* ================= FOOTER ================= */
.main-footer{
  background: linear-gradient(135deg,#3b0f0f,#7a1c1c,#3b0f0f) !important;
}

.footer-title{
  color:#ffd87d;
}

/* ================= WHATSAPP ================= */
.whatsapp-float{
  background:#25d366;
}

.lang-switch button {
  padding: 6px 12px;
  margin-left: 6px;
  border: none;
  border-radius: 5px;
  background: #198754;
  color: #fff;
  cursor: pointer;
}

.lang-switch button:hover {
  background: #146c43;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}
/* ===== GALLERY ADVANCED DESIGN ===== */
.gallery-card{
  border-radius:16px;
  overflow:hidden;
  transition:0.3s;
}
.gallery-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.gallery-img{
  height:220px;
  object-fit:cover;
}

.gallery-video{
  height:220px;
  object-fit:cover;
}


@media(max-width:768px){

  .admin-sidebar{
    left:-240px;
  }

  .admin-sidebar.show{
    left:0;
  }

  .admin-content{
    margin-left:0;
  }

  .toggle-btn{
    display:inline-block;
  }

  .stat-card{
    margin-bottom:15px;
  }
}

/* ===============================
   SMALL MOBILE (EXTRA)
   =============================== */
@media(max-width:480px){

  .admin-topbar h4{
    font-size:16px;
  }

  .stat-card h2{
    font-size:26px;
  }

  .btn{
    font-size:14px;
  }
}
@media (max-width: 768px){

  /* ✅ table scroll allow */
  .table-responsive{
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* ✅ table width increase */
  table{
    min-width: 900px; /* ✅ Mobile scroll */
  }

  /* ✅ bigger cells */
  .table th,
  .table td{
    white-space: nowrap ;
  }

  /* ✅ Address column wrap */
  .address-col{
    white-space: normal !important; /* ✅ break line */
    word-break: break-word;
    min-width: 180px;  /* ✅ enough space */
    max-width: 220px;
    line-height: 1.4;
  }
  .address-col{
  min-width: 250px !important;
  max-width: 100%;
}

  /* ✅ header bold & clean */
  .table th{
    font-size: 16px !important;
    font-weight: 600;
  }
  .navbar-collapse .lang-switch{
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  /* buttons full width 2 line માં */
  .navbar-collapse .lang-switch button{
    width: 45%;
    font-size: 13px;
    padding: 8px;
  }
  .admin-sidebar{
    min-height: 100%;
  }
}

.lang-switch{
  display: flex;
  gap: 6px;
}

.lang-switch button{
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  background: #ffc107;
  font-weight: bold;
}

/* 
.footer_con{
  text-align: center;
    place-self: center;
} */

.trasti {
    place-items: center;
}


.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: gold;
}
