body { font-family: Arial, sans-serif; background: #f6f9fa; margin:0; }
header { background:none; padding:0; }
.logo-section { display:flex; align-items:center; gap:16px; }
.logo { width:64px; height:64px; }
.tagline { font-style:italic; font-size:1.1em; }

.contact-info-block { background: #fff; border-bottom: 1px solid #eee; padding: 12px 0 6px 0; text-align: center; }
.contact-office.main-office { font-family: 'Segoe UI', Arial, sans-serif; color: #e53935; font-weight: bold; font-size: 1.17em; letter-spacing: 0.4px; margin-bottom: 3px; }
.contact-office.raj-office { font-family: 'Georgia', serif; color: #1976d2; font-weight: bold; font-size: 1.09em; font-style: italic; margin-bottom: 3px; }
.helpline-row { margin-top: 2px; }
.helpline-marquee { font-family: 'Arial Black', Arial, sans-serif; color: #222; font-size: 1.23em; background: #fff8e1; font-weight: 900; letter-spacing: 0.7px; padding: 2px 0; border-radius: 6px; border: 1px dashed #e53935; width: 340px; display: inline-block; }

.main-menu { background: #f00b07; padding: 12px 0; border-bottom: 2px solid #041179; text-align: center; }
.main-menu ul { display: flex; justify-content: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.main-menu a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.09em; padding: 8px 20px; border-radius: 8px; transition: background 0.2s; }
.main-menu a:hover { background: #1976d2; }

.main-content-row { display: flex; justify-content: center; align-items: flex-start; gap: 38px; margin: 40px auto 24px auto; max-width: 1100px; width: 96%; }
.latest-events-box { width: 320px; min-height: 350px; background: #f8fafd; border-radius: 16px; box-shadow: 0 2px 11px #1976d222; padding: 18px 20px; font-family: 'Segoe UI', Arial, sans-serif; box-sizing: border-box; flex-shrink: 0; }
.latest-events-box h3 { color: #e53935; margin-top: 0; margin-bottom: 14px; font-size: 1.22em; text-align:left; letter-spacing:0.2px; }
.events-ticker { background: #fff; border-radius:9px; box-shadow:0 2px 8px #1976d222; padding: 12px 4px; height: 265px; overflow:hidden; }
.event-title { font-size: 1.08em; margin:16px 0; }
.event-title a { color: #e53935; text-decoration: none; font-weight:600; transition: color .2s; }
.event-title a:hover { color: #1976d2; }

.gallery-area { 
  max-width: 730px; min-width: 370px; min-height: 350px; 
  box-shadow: 0 2px 18px #0002; border-radius: 18px; 
  background: #fff; 
  padding:18px 0; 
  box-sizing: border-box; 
  flex: 1 1 420px; 
  position: relative;
}

.gallery-slider { 
  position: relative; width: 90%; height: 340px; margin: 0 auto; 
  overflow: hidden; display: flex; align-items: center; justify-content: center; 
}

.gallery-slide { 
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
  object-fit: contain; /* prevents cropping, black bars will appear if different ratio */
  background: #e0e8f3; 
  border-radius: 16px; 
  box-shadow: 0 4px 22px #1976d226; 
  display: none; 
  z-index: 4; 
  opacity: 0; 
  transition: opacity .54s cubic-bezier(.61,.01,.38,.99);
}
.gallery-slide.active { 
  display: block; 
  opacity: 1; 
  animation: slidePop 0.70s cubic-bezier(.17,.67,.71,1.51);
}
@keyframes slidePop { 
  0% {transform: scale(.9) translateX(55px); opacity:0;} 
  80%{transform:scale(1.05) translateX(0);opacity:.92;}
  100%{transform: scale(1) translateX(0); opacity:1;}
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.98em;
  color: #1976d2;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9;
  padding: 0 12px;
  opacity: 0.80;
  transition: color 0.17s, opacity 0.17s;
  user-select:none;
}
.gallery-arrow:hover { color:#e92628; opacity:1;}
.gallery-arrow.left { left: -23px;}
.gallery-arrow.right { right: -23px; }

.gallery-slider .gallery-arrow:before { 
  content: '';
  display: inline-block;
}

.showall-btn { 
  background: #1976d2;
  color: #fff; 
  font-weight:700; 
  border-radius:11px; 
  border: none; 
  padding: 10px 32px; 
  font-size: 1.11em; 
  box-shadow: 0 2px 11px #13346220; 
  cursor: pointer; 
  transition: background .16s;
  margin:13px auto 0 auto;
  display:block;
}
.showall-btn:hover { background: #e92628; }

/* Grid view */
#gallery-grid { 
  width:90%; margin:0 auto; display:none; }
.gallery-grid-list {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(130px,1fr));
  gap: 19px;
  margin-top:8px;
}
.gallery-grid-list img { 
  width:100%; height:130px; object-fit:cover; 
  border-radius:11px;
  box-shadow: 0 3px 15px #1976d233; 
  cursor: pointer; 
  background: #e0e8f3;
  transition:transform .18s;
}
.gallery-grid-list img:hover{
 transform:scale(1.05);
}

/* Modal Zoomed image */
#galleryModalBg {
  display: none;
  position: fixed; z-index: 33333; 
  inset:0; background:rgba(24,34,49,.93);
}
#galleryModalContent {
  position: absolute; 
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  box-shadow: 0 1.5px 90px #13346288; 
  border-radius:16px; padding:16px 16px 18px 16px;
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
}
#galleryModalImg {
  max-width:87vw; max-height:83vh; border-radius:14px;
  background: #e0e8f3; box-shadow:0 1.2px 24px #13346222;
  cursor: zoom-out;
}
#galleryModalPrev,#galleryModalNext {
  position:absolute; top:50%; transform:translateY(-50%);
  font-size: 2.6em;
  color: #1976d2; background:none; border:none;cursor:pointer; z-index:9;
  padding: 0 13px;
  opacity: .85; transition:color .18s,opacity .14s;
}
#galleryModalPrev:hover,#galleryModalNext:hover{color:#e92628;opacity:1;}
#galleryModalPrev{left: -45px;}
#galleryModalNext{right: -45px;}
#galleryModalClose{
  position:absolute;top:8px;right:18px;font-size:2em;font-weight:bold;
  color:#e92628;background:none;border:none;cursor:pointer;z-index:12;
}

/* Responsive */
@media (max-width:900px){
    .gallery-area{ max-width:99vw; min-width:0; }
    .gallery-slider,.gallery-grid-list{width:99vw;max-width:730px;}
}
@media (max-width:600px){
    .gallery-slider,.gallery-grid-list{height:90vw;max-height:320px;}
}


/* ------------ Members Carousel ------------ */
.members-carousel { display:flex; gap:22px; margin:30px auto; max-width:650px; justify-content:center; }
.member-slide { display:none; text-align:center; }
.member-slide.active { display:block; animation:fade 1s; }
.member-slide img { border-radius:50%; width:80px; height:80px; box-shadow:0 1px 5px #0003; }

/* ------------ Quotes Slider ------------ */
.quotes-slider {
    width: 100vw;
    max-width: 650px;
    margin: 55px auto 40px auto;
    position: relative;
    padding: 0 0 30px 0;
}
.quotes-slider-wrapper {
    position: relative; width:100%; height: 430px; min-height:390px;
    display:flex; align-items:center; justify-content:center;
}
.quote-slide {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0; pointer-events:none; 
    transition: opacity .55s cubic-bezier(.6,.4,.47,.87);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-slide.active { opacity:1; pointer-events:auto; z-index:5;}

.quote-card {
    /* Light, full background with soft blue/red+white blend */
    background: 
      radial-gradient(circle 820px at 90% 120%, #dbeafe 10%, #f8fafc 70%),
      linear-gradient(102deg, #f44336 1%, #1976d2 99%);
    color: #263053;
    box-shadow: 0 10px 46px #1976d250, 0 2px 8px #f4433624;
    border-radius: 28px;
    min-width: 355px;
    min-height: 360px;
    width: 99%;
    max-width: 610px;
    margin: 0 auto;
    padding: 46px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform .36s;
    animation: cardin .7s;
    cursor:pointer;
    background-blend-mode: lighten;
}
@keyframes cardin { from {transform:scale(.91) translateY(18px);} to {transform:scale(1) translateY(0);} }
.quote-card:active {transform:scale(.98);}
.quote-pulse {
    position:absolute;top:16px;left:19px;width:24px;height:24px;
    background:radial-gradient(circle,#fff9 73%,#1976d2 98%);
    border-radius:50%;
    z-index:2;animation:pulse 1.7s infinite;
}
@keyframes pulse {
    0% { box-shadow:0 0 0 0 rgba(25,118,210,.15),0 0 0 0 #fff6;}
    70% { box-shadow:0 0 0 17px transparent,0 0 0 32px #709fff07;}
    100% { box-shadow:0 0 0 0 rgba(25,118,210,.15),0 0 0 0 #fff6;}
}

.qphoto {
    display: flex; align-items: flex-end; justify-content:center;
    margin-top:-24px; margin-bottom:28px;
    min-width: 116px; height: 116px;
}
.qphoto img {
    width: 150px; height: 150px; object-fit: cover; border-radius: 50%;
    border:5px solid #fff; box-shadow:0 2px 14px #1976d25f;
    background: #fff;
}

.qinfo{width:100%;display:flex;flex-direction:column;align-items:center;}
.qtext {
    font-size:1.69em; font-weight:500; 
    margin:0 0 24px 0; text-align:center;
    color:#28314e; text-shadow:0 1px 12px #fff6;
    max-width: 440px; min-height: 58px;
    font-family: 'Georgia', serif;
    letter-spacing:.18px;
    line-height:1.42;
}
.qname {
    font-size:1.32em; font-weight:700; color:#324373; margin:0 0 2px 0; text-shadow:0 1px 4px #1976d221;
    letter-spacing:.67px;text-align:center;
}
.qpost {
    font-size:1.05em; font-weight:600; color:#1976d2; text-shadow:0 0 8px #b6c7ff34; text-align:center;
}
@media (max-width:650px){
    .quotes-slider {max-width:98vw;}
    .quotes-slider-wrapper{height:295px;}
    .quote-card{padding:18px 2vw 25px 2vw;min-width:160px;}
    .qphoto,.qphoto img{width:76px;height:76px;}
    .qtext{font-size:.97em;}
}


/* ------------ Objectives & Rules Section ------------ */
.udni-heading {
    text-align: center;
    font-size: 2.1em;
    color: #fff;
    background: #b70019;
    display: inline-block;
    padding: 13px 48px 12px 48px;
    border-radius: 12px;
    font-weight: bold;
    margin: 40px auto 22px auto;
    letter-spacing: 2.8px;
    box-shadow: 0 2px 12px #3332;
    position: relative;
    overflow: hidden;
}
.udni-heading::after {
    content: "";
    position: absolute;
    left: 23%;
    right: 23%;
    height: 4px;
    bottom: 6px;
    background: linear-gradient(90deg, #fff 35%, #e90000 85%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s, transform 0.6s cubic-bezier(.21,1.15,.85,1.06);
    transform: scaleX(.4);
}
.udni-heading.ani-underline::after { opacity: 1; transform: scaleX(1.01); }

.udni-container { display: flex; flex-direction: column; gap: 24px; align-items: center; margin-bottom: 50px; }
.udni-objectives {
    background: #b70019;
    color: #fff;
    font-size: 1.19em;
    font-weight: 600;
    padding: 34px 42px;
    border-radius: 36px;
    max-width: 1100px;
    margin: 0 auto;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 22px #b7001940;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.99);
    transition: opacity 0.8s cubic-bezier(.5,.2,.1,1.04), transform 0.8s cubic-bezier(.5,.2,.1,1.04);
}
.udni-rules {
    background: #00306e;
    color: #fff;
    font-size: 1.13em;
    padding: 36px 42px 30px 42px;
    border-radius: 38px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 2px 22px #00306e55;
    opacity: 0;
    transform: translateY(40px) scale(0.99);
    transition: opacity 0.8s cubic-bezier(.5,.2,.1,1.04), transform 0.8s cubic-bezier(.5,.2,.1,1.04);
}
.udni-objectives.visible, .udni-rules.visible { opacity: 1; transform: none; }
.udni-objectives h3, .udni-rules h3 { font-size: 2em; font-weight: bold; margin-bottom: 26px; text-align: left; color: #fff; text-shadow: 0 2px 8px #3333; letter-spacing: 1.1px; }
.udni-rules ol { padding-left: 22px; }
.udni-rules li { margin-bottom: 13px; line-height: 1.82; font-weight: 500; font-size: 1em; }

@media (max-width: 900px) {
    .udni-objectives, .udni-rules { padding: 18px 8vw; border-radius: 16px; max-width:99vw; }
    .udni-heading { font-size: 1.3em; padding: 8px 14vw 7px 14vw;}
}

/* Entry animations */
.uani { opacity: 0; transform: translateY(40px) scale(0.99); transition: opacity 0.8s cubic-bezier(.5,.2,.1,1.04), transform 0.8s cubic-bezier(.5,.2,.1,1.04);}
.uani.visible { opacity: 1; transform: none;}

.main-footer {
    background: linear-gradient(120deg, #073064 78%, #e53935 100%);
    color: #fff;
    padding: 40px 0 26px 0;
    box-shadow: 0 -3px 22px #04117944;
    position:relative;
}
.footer-row {
    max-width: 1200px;
    margin:0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 38px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand { flex:1 1 200px; text-align:left; min-width:190px; }
.footer-logo { width:64px; height:64px; border-radius:15px; box-shadow:0 3px 11px #8881; display:inline-block; vertical-align:middle; }
.footer-title { font-size:1.3em; font-weight:700; margin-top:7px; color: #ffe2e2;}
.footer-tagline { font-size:1em; color:#fcc; margin-top:1px; }

.footer-nav { flex:1 1 260px; min-width:180px; display: flex; flex-wrap:wrap; gap: 13px 13px; justify-content: left; align-items:center; margin-top:5px; }
.footer-nav a {
    background:#005dc2;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:1.07em;
    padding: 7px 20px;
    border-radius:9px;
    box-shadow:0 1px 10px #1976d244;
    border:none;
    transition: background .18s, color .18s;
}
.footer-nav a:hover { background:#e53935; color:#fff; }

.footer-contact { flex:1 1 200px; min-width:170px; font-size:0.99em; margin-top:8px; }
.contact-strong { font-weight:bold; color:#ffd700; margin-bottom:3px; font-size: 1.1em;}
.footer-contact a { color: #ffe2e2; text-decoration:underline; }

.footer-social { flex:1 1 110px; min-width:110px; display: flex; gap:13px; align-items:center; margin-top:7px;}
.footer-social a img {
    width:33px; height:33px;
    filter: drop-shadow(0 2px 7px #041179aa);
    transition: filter 0.25s, transform 0.22s;
    border-radius:7px;
    background:#fff;
}
.footer-social a:hover img { filter: drop-shadow(0 4px 18px #e53935cc); transform:scale(1.15); }

.footer-map { flex:1 1 290px; min-width:270px; margin-top:7px; }
.footer-map iframe { border:0; box-shadow:0 2px 18px #04117944; border-radius:16px; }

.footer-copyright {
    border-top: 1px solid #d6daee33;
    margin-top:32px;
    text-align:center;
    color: #fff;
    font-size:1.08em;
    padding-top: 9px;
    opacity:0.85;
    letter-spacing:0.5px;
}

@media (max-width:1000px) { .footer-row { flex-direction:column; gap:14px; align-items:center;} }
@media (max-width:600px) {
    .footer-row { padding:0 9vw;}
    .footer-title,.footer-tagline,.footer-contact,.footer-nav {text-align:center;}
    .footer-map iframe { width:94vw; }
}

.about-section-card {
    max-width: 770px;
    margin: 52px auto 44px auto;
    background: linear-gradient(120deg, #fff 80%, #e3edfa 100%);
    border-radius: 28px;
    box-shadow: 0 6px 36px #e5393525;
    padding: 38px 42px 32px 42px;
    position: relative;
    transition: box-shadow .17s;
}
.about-section-card:hover { box-shadow: 0 10px 60px #e9000033; }
.about-main { text-align: center; }
.about-logo { width: 90px; height: 90px; border-radius:18px; box-shadow:0 4px 22px #1976d244; margin-bottom:18px;}
.about-title {
    font-size: 2em; color: #e53935; font-weight: bold; margin-bottom: 7px; letter-spacing:1px;
    text-shadow: 0 3px 10px #1976d233;
}
.about-subtitle { font-size:1.22em; color:#1565c0; font-weight:600; margin-bottom:16px; }
.about-desc p { font-size:1.08em; line-height:1.7; margin-bottom:17px; color:#222; }
.about-desc ul { text-align:left; margin:0 auto 0 0; padding-left:39px; max-width:540px; }
.about-desc li { margin-bottom:14px; font-size:1.08em; color:#143477; font-weight:500; position:relative; }
.about-desc li:before { content:"★ "; color:#e53935; font-weight:bold; position:absolute; left:-26px; }
.about-btns { margin-top:22px; display:flex; gap:18px; justify-content:center; }
.about-action-btn {
    background:#1976d2; color:#fff; padding:10px 26px; border-radius:16px; font-weight:700; letter-spacing:.6px;
    text-decoration:none; transition:background .18s, transform .12s; box-shadow:0 3px 12px #1976d244;
    font-size: 1.06em;
}
.about-action-btn:hover{ background:#e53935; transform:scale(1.07);}
@media (max-width:800px) { .about-section-card {max-width:99vw; padding:18px 8vw;} .about-desc ul{padding-left:22px;} }

.contact-section-card {
    max-width: 970px;
    margin: 42px auto 0 auto;
    background: linear-gradient(93deg, #fff 77%, #e3edfa 100%);
    border-radius: 25px;
    box-shadow: 0 7px 28px #1565c022;
    padding: 40px 26px 38px 26px;
    display: block;
}
.contact-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.contact-card {
    background: #1976d2;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 22px #e5393522;
    padding: 26px 28px 23px 28px;
    flex: 1 1 330px;
    max-width: 400px;
    min-width: 290px;
    margin-bottom: 16px;
    text-align:left;
    position:relative;
    transition: box-shadow .18s;
}
.contact-card:hover { box-shadow: 0 6px 28px #e9000033; }
.contact-title {
    font-size: 1.23em;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 16px;
    text-shadow:0 2px 8px #fff2;
}
.contact-label {
    font-size: 1.03em;
    font-weight:600;
    margin-top:8px;
    margin-bottom:2px;
    color:#ffe2e2;
}
.contact-info {
    font-size:1.06em;
    margin-bottom:7px;
    color:#050000;
    font-weight:500;
    text-shadow:0 1px 3px #04117922;
}
.contact-info a { color:#ffeb3b; text-decoration:underline;}
.contact-info a:hover { color:#0f0000; text-decoration:underline;}


@media (max-width:800px) {
    .contact-row { flex-direction:column; gap:22px;}
    .contact-section-card { max-width:97vw; padding:15px 6vw;}
}
html { scroll-behavior: smooth; }

.footer-helplines {
    margin: 24px auto 10px auto;
    text-align: center;
    background: linear-gradient(98deg,#e3edfa 65%, #fff8f8 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px #e5393577;
    display: inline-block;
    padding: 18px 30px 17px 30px;
    font-size: 1.14em;
    max-width: 630px;
}
.helplines-title {
    color: #1976d2;
    font-weight: bold;
    font-size: 1.21em;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 2px 9px #fff9;
}
.helplines-list {
    display:flex; flex-direction:column; gap:8px;
}
.helplines-list span {
    font-size: 1.08em;
    font-weight: 600;
    color: #e53935;
    letter-spacing: .03em;
    min-width:110px;
    display: inline-block;
    vertical-align:middle;
    margin-right: 8px;
}
.helpline-number {
    display: inline-block;
    background: #fff;
    border: 2.5px solid #1976d2;
    color: #102d56;
    font-size: 1.16em;
    font-weight: 700;
    padding: 2px 22px;
    border-radius: 22px;
    margin: 0 8px 0 0;
    text-decoration: none !important;
    box-shadow:0 2px 8px #1976d244;
    transition: background .17s, color .17s, border .17s, transform .15s;
}
.helpline-number:hover, .helpline-number:focus {
    background: #d1bcbc;
    color: #fff;
    border-color: #c70101;
    transform: scale(1.09);
}
.helpline-number.urgent { border-color:#c70101; color:#c70101; }
.helpline-number.women, .helpline-number.contact { border-color:#b70ab4; color:#b70ab4; }
.helpline-number.child { border-color:#ff9800; color:#ff9800; }
.helpline-number.ambulance { border-color:#388e3c; color:#388e3c; }
.helpline-number.cyber { border-color:#1565c0; color:#1565c0; }

@media (max-width:700px) {
    .footer-helplines {padding:13px 5vw; font-size:1em;}
    .helplines-list {gap:6px;}
    .helpline-number {padding:2px 12px; font-size:1.09em;}
}

.team-filter-bar { margin:24px auto 24px auto; max-width:950px; text-align:center; }
#teamFilterForm select, .team-filter-btn {
    font-size:1.12em; padding:9px 18px; margin:0 12px 0 0; border-radius:7px; border:1.7px solid #1976d2;
    background:#fff; color:#1976d2; font-weight:600; margin-bottom:8px; transition:border .14s;
}
#teamFilterForm select:focus { border-color:#e53935; }
.team-filter-btn {
    background:#e53935; color:#fff; border:none; cursor:pointer; font-weight:700; }
.team-filter-btn:hover { background:#1976d2; }

.animated-mapblock {
    opacity: 0;
    transform: translateY(70px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(.21,.9,.41,1.1), transform 0.8s cubic-bezier(.21,.9,.41,1.1);
    will-change: opacity, transform;
}
.animated-mapblock.visible {
    opacity: 1;
    transform: none;
}
.mapbox-hover {
    border-radius: 18px;
    box-shadow: 0 2px 10px #00306e33;
    overflow: hidden; 
    transition: 
        box-shadow .32s cubic-bezier(.23,1.17,.65,1.09),
        transform .27s cubic-bezier(.23,1.17,.65,1.09);
    will-change: box-shadow, transform;
    position: relative;
}
/* On hover: pop, highlight, gentle glow + scale */
.mapbox-hover:hover {
    box-shadow: 0 4px 20px #1976d288, 0 0 0 6px #e5393522;
    transform: scale(1.035) rotateZ(-1deg);
    border-radius: 24px;
    z-index: 2;
}

.member-landscape-form {
    max-width: 950px;
    margin: 38px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 26px #1976d233;
    padding: 33px 30px 24px 30px;
}
.member-landscape-form h2 {
    color:#1976d2; font-size:2em; margin-bottom:24px; text-align:center;
}
.form-success {background:#e8f5e9;color:#2e7d32;border-radius:8px;padding:14px;margin-bottom:20px;text-align:center;}
.form-error {background:#ffebee;color:#d32f2f;border-radius:8px;padding:14px;margin-bottom:20px;text-align:center;}
.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 22px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight:600;
    margin-bottom:7px;
    color: #1976d2;
    font-size: 1.09em;
}
.form-group input, .form-group select, .form-group textarea {
    padding: 10px 9px;
    border-radius: 7px;
    border: 1px solid #bfc5d7;
    font-size: 1.08em;
    box-shadow:0 2px 8px #1565c028;
    transition: border .13s;
    margin-bottom:12px;
}
.form-group input[type="file"] {
    padding: 8px 6px;
    font-size: 0.98em;
    background:#fafbfe;
    border-radius:7px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color:#1976d2;
    outline:none;
}
.member-landscape-form button {
    margin-top: 18px; padding:13px 48px; font-weight:700; background:#1976d2; color:#fff;
    border:none; border-radius: 8px; font-size:1.15em; box-shadow:0 3px 14px #00306e22;
    transition: background .18s; cursor:pointer; display:block; margin-left:auto; margin-right:auto;
}
.member-landscape-form button:hover {background:#e53935;}
@media(max-width:800px){
    .form-row{flex-direction:column; gap:10px;}
}

.file-preview {
    display:block;
    margin-top:3px;
    color:#1976d2;
    font-size:0.95em;
    font-weight:500;
}
.file-preview img {
    box-shadow:0 2px 8px #1976d233;
    margin-bottom:-2px;
}

.blink-green {
    color: #fff !important;
    background: #2e7d32;
    padding:7px 22px;
    border-radius:10px;
    font-weight:700;
    font-size:1.13em;
    animation: blink-green 1s infinite alternate;
    box-shadow:0 2px 12px #1976d244;
    letter-spacing:1px;
}

@keyframes blink-green {
    0% { background:#2e7d32; color:#fff;}
    40% { background:#43a047; color:#fff;}
    75% { background: #2e7d32; color:#fff;}
    100%{ background:#43a047; color:#fff;}
}

.verify-uid-fixed {
    font-weight:700;
    color:#1976d2;
    font-size:1.13em;
    margin-right:8px;
    letter-spacing:1px;
}
.verify-profile-card {
    border-radius:18px; box-shadow:0 2px 15px #00306e44; background:#e7f0fc;
    padding:28px 32px 25px 32px; margin-bottom:10px; display:grid; grid-template-columns:130px 1fr; gap:0 32px; align-items:center;
    min-width:260px;
}
.verify-member-photo {
    border-radius:50%;
    box-shadow: 0 3px 12px #1976d255;
    width:120px; height:120px; object-fit:cover;
    background:#fff;
    border:3px solid #fff;
    display:block;
}
.verify-info { flex:1; min-width:190px; }
.verify-info b {color: #1565c0;}
.verify-info div {margin-bottom:7px;line-height:1.42;}
.verify-uid-badge {
    background:#1976d2;color:#fff;padding:8px 36px 8px 22px; font-weight:700; font-size:1.19em;
    border-radius:46px; box-shadow:0 2px 10px #1976d232; margin-bottom:11px; display:inline-block; letter-spacing:2px;
}
.blink-green {
    /* use previous blink-green CSS; already set above */
    margin-top:8px; min-width:114px; text-align:center; /* ADD min width to prevent overlap */
}
@media(max-width:650px){
    .verify-profile-card{
        display:block; padding:21px 9px 17px 9px;
    }
    .verify-member-photo{margin:0 auto 10px auto;}
    .verify-info { padding:0 5px;}
}
.sopath-box {
    background: #f4fdff;
    border: 1.7px solid #1976d2;
    border-radius: 16px;
    padding: 22px 28px 16px 28px;
    margin: 24px 0 18px 0;
    box-shadow: 0 2px 12px #1976d222;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.sopath-title {
    font-size: 1.22em;
    color: #e53935;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: left;
}
.sopath-list {
    margin-bottom: 18px;
    padding-left: 20px;
    font-size: 1.05em;
    color: #222;
}
.sopath-list li {margin-bottom:9px; line-height:1.58;}
.sopath-check-row {
    padding-top: 2px;
    font-size: 1.09em;
    color: #1976d2;
    font-weight: 600;
    text-align: left;
}
.sopath-check-row input[type=checkbox] {
    width:20px; height:20px; margin-right:10px; accent-color:#1976d2;
    vertical-align:middle;
}
.sopath-check-row label {
    cursor:pointer;
}
.qarea { 
    color: #1976d2; 
    font-size: 1em; 
    font-weight: 700; 
    margin-left: 7px; 
    letter-spacing: .2px; 
    text-shadow:0 0 8px #e3eefa44;
}

/* ===== LAYOUT ===== */
.main-content-row{
    max-width:1200px;
    margin:40px auto;
    display:grid;
    grid-template-columns:340px 1fr;
    gap:30px;
}
@media(max-width:900px){
    .main-content-row{grid-template-columns:1fr;}
}

/* ===== LATEST EVENTS ===== */
.latest-events-box{
    background:#fff;
    border-radius:22px;
    padding:22px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}
.latest-events-box h3{
    text-align:center;
    font-size:22px;
    color:#1976d2;
    margin-bottom:18px;
}
.events-list{
    height:280px;
    overflow:hidden;
}
.event-item{
    background:#f7f9ff;
    border-left:4px solid #1976d2;
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:14px;
    transition:.3s;
}
.event-item:hover{
    background:#1976d2;
    color:#fff;
}
.event-item a{
    color:inherit;
    text-decoration:none;
    font-weight:600;
}

/* ===== GALLERY ===== */
.gallery-area{
    background:#fff;
    border-radius:22px;
    padding:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}
.gallery-slider{
    position:relative;
    aspect-ratio:16/9;
    border-radius:18px;
    background:#eef2fb;
    overflow:hidden;
}
.gallery-slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain; /* no cut */
    background:#fff;
    display:none;
}
.gallery-slide.active{display:block;}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.9);
    font-size:24px;
    cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.gallery-arrow:hover{background:#1976d2;color:#fff;}
.gallery-arrow.left{left:12px;}
.gallery-arrow.right{right:12px;}

.showall-btn{
    margin:20px auto;
    display:block;
    padding:12px 36px;
    background:#1976d2;
    color:#fff;
    border:none;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
}
.showall-btn:hover{background:#e53935;}

#gallery-grid{display:none;}
.gallery-grid-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
}
.gallery-grid-list img{
    width:100%;
    height:200px;
    object-fit:contain;
    background:#fff;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(0,0,0,.15);
    cursor:pointer;
    transition:.3s;
}
.gallery-grid-list img:hover{transform:scale(1.05);}

/* ===== MODAL ===== */
#galleryModalBg{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:9999;
}
#galleryModalContent{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
#galleryModalImg{
    max-width:92vw;
    max-height:85vh;
    border-radius:18px;
    background:#000;
}
#galleryModalClose{
    position:absolute;
    top:25px;
    right:30px;
    width:46px;
    height:46px;
    border-radius:50%;
    border:none;
    font-size:24px;
    background:#e53935;
    color:#fff;
    cursor:pointer;
}
#galleryModalPrev,#galleryModalNext{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    border:none;
    font-size:26px;
    cursor:pointer;
    background:rgba(255,255,255,.9);
}
#galleryModalPrev{left:20px;}
#galleryModalNext{right:20px;}
/* ================= MOBILE RESPONSIVE FIX ================= */
@media (max-width: 768px){

/* ----- GLOBAL ----- */
body{
    font-size:15px;
}

.udni-heading{
    font-size:1.8em;
    margin-bottom:20px;
}

/* ----- MAIN LAYOUT ----- */
.main-content-row{
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:10px;
}

/* ----- LATEST EVENTS ----- */
.latest-events-box{
    width:100%;
    border-radius:14px;
}
.latest-events-box h3{
    font-size:1.2em;
}
.events-ticker marquee{
    height:180px;
}

/* ----- GALLERY ----- */
.gallery-slider{
    border-radius:16px;
}
.gallery-slide{
    width:100%;
    height:auto;
}
.gallery-arrow{
    padding:10px 14px;
    font-size:18px;
}
.showall-btn{
    padding:10px 26px;
    font-size:14px;
}

/* Gallery grid */
.gallery-grid-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.gallery-grid-list img{
    width:100%;
}

/* ----- QUOTES ----- */
.quotes-slider{
    padding:40px 12px;
}
.quotes-slider-wrapper{
    max-width:100%;
}
.quote-card{
    padding:20px;
    border-radius:18px;
}
.qphoto img{
    width:90px;
    height:90px;
}
.qtext{
    font-size:1.1em;
    line-height:1.5;
}

/* ----- ABOUT SECTION ----- */
.about-section-card{
    border-radius:20px;
    padding:18px;
}
.about-logo{
    width:90px;
}
.about-title{
    font-size:1.1em;
    text-align:center;
}
.about-subtitle{
    font-size:.95em;
    text-align:center;
}
.about-desc p{
    font-size:14px;
    padding:14px;
}
.about-desc ul li{
    font-size:14px;
}

/* ----- OBJECTIVES & RULES ----- */
.udni-container{
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:0 10px;
}
.udni-objectives,
.udni-rules{
    padding:18px;
    border-radius:20px;
}

/* ----- CONTACT ----- */
.contact-row{
    display:flex;
    flex-direction:column;
    gap:20px;
}
.contact-card{
    padding:18px;
}
.contact-title{
    font-size:1.2em;
}

}
/* ============================
   GLOBAL MOBILE FIXES
============================ */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================
   BANNER RESPONSIVE FIX
============================ */
.header-banner{
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.banner-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile banner height control */
@media (max-width: 600px){
  .banner-img{
    max-height: 150px;   /* ✅ banner bada na ho */
    object-fit: cover;
  }
}

/* ============================
   CONTACT INFO + HELPLINE FIX
============================ */
.contact-info-block{
  padding: 10px 10px 6px;
}
.helpline-marquee{
  width: 100% !important;     /* ✅ fixed 340 हटेगा */
  max-width: 95vw;
  box-sizing: border-box;
}

/* text sizes mobile */
@media (max-width: 600px){
  .contact-office.main-office{ font-size: 0.98em; }
  .contact-office.raj-office{ font-size: 0.95em; }
  .helpline-marquee{ font-size: 1.05em; }
}

/* ============================
   NAV MENU -> HAMBURGER MOBILE
   (Works with header code I gave)
============================ */
.main-menu{
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-menu .menu-toggle{
  display: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 22px;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  margin: 0 auto 8px auto;
}

.main-menu .menu-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Desktop default (same as your existing) */
@media (min-width: 901px){
  .main-menu .menu-list{
    display: flex;
    justify-content: center;
    gap: 24px;
  }
}

/* Mobile menu */
@media (max-width: 900px){
  .main-menu{
    padding: 10px 12px;
  }

  .main-menu .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-menu .menu-list{
    display: none;               /* hidden by default */
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    background: #c90906;
    border-radius: 12px;
    max-width: 520px;
    margin: 0 auto;
  }

  .main-menu.menu-open .menu-list{
    display: flex;               /* show when open */
  }

  .main-menu a{
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
  }
}

/* ============================
   LAYOUT CONFLICT FIX
   You have flex .main-content-row earlier AND later grid.
   This override makes it stable + responsive.
============================ */
.main-content-row{
  max-width: 1100px;
  width: 96%;
  margin: 28px auto 24px;
  display: grid !important;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
}

/* mobile */
@media (max-width: 900px){
  .main-content-row{
    grid-template-columns: 1fr !important;
    width: 95%;
    margin-top: 18px;
  }
  .latest-events-box{
    width: 100% !important;
  }
  .gallery-area{
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* ============================
   GALLERY MOBILE IMPROVEMENTS
============================ */
.gallery-slider{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;    /* consistent ratio */
}

@media (max-width: 600px){
  .gallery-slider{
    aspect-ratio: 4/3;
  }
  .gallery-arrow.left{ left: 6px !important; }
  .gallery-arrow.right{ right: 6px !important; }
}

/* Grid thumbnails better on mobile */
@media (max-width: 600px){
  .gallery-grid-list{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .gallery-grid-list img{
    height: 120px !important;
    object-fit: cover !important;
  }
}

/* ============================
   FIX RULES TEXT VISIBILITY (Black Text)
   If you want black text even on blue bg:
============================ */
.udni-rules,
.udni-rules *{
  color: #000 !important;
  background: #fff !important;   /* rules box white */
}
.udni-rules{
  box-shadow: 0 2px 22px rgba(0,48,110,0.20) !important;
  border: 1px solid #d7deef !important;
}

