/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #1a1a1a;
  background: #e8eef5;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 1px;
}

/* Header - gradient */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #d69c2f 0%, #2563eb 40%, #3b82f6 100%);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo svg {
  width: 48px;
  height: 48px;
  color: #fff;
  transition: transform 0.2s, color 0.2s;
}

.logo:hover svg {
  transform: scale(1.08);
  color: #93c5fd;
}

.site-name {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.site-name a {
  color: inherit;
  transition: color 0.2s, transform 0.2s;
}

.site-name a:hover {
  color: #93c5fd;
}

/* Nav toggle (hamburger) - visible only on mobile */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 30px;
  height: 30px;
  padding: 6px;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 1rem;
  list-style: none;
}

.nav-list a {
  display: flex;
  padding: 0.5rem 0.75rem;
  font-size: 1.1375rem;
  font-weight: 500;
  font-style: italic;
  border-radius: 4px;
  color: rgba(255,255,255,0.95);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-list a:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: scale(1.05);
}

.nav-list a:active {
  background: rgba(255,255,255,0.15);
}

.nav-list a.active {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.nav-list a.active:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
  transform: scale(1.05);
}
.left-photo {
  border-width: 2px;
border-color: red;
float: left;
margin-right:40px;
margin-top:90px;
padding:22px;
}
.profile-link  .profiletab{
background-color:gray ;
display:inline-block;
color:blue;
font-size:1em;
margin-top:8px;
transition:color 0.3s ease-in-out;
}
/* Main content */
.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  background: rgba(255,255,255,0.6);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.section {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.section:last-child {
  border-bottom: none;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.section p {
  color: #444;
}

/* Mobile: hamburger menu */
@media (max-width: 767px) {
  .header {
    padding-right: 3.5rem;
  }

  .nav-toggle-label {
    display: flex;
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
  }

  .nav .founder{
    flex: 1 1 100%;
    order: 3;
    justify-content: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: #f1f5f9;
    border-radius: 8px;
    margin-top: 0.5rem;
  }

  .nav-list a {
    color: #1e293b;
  }

  .nav-list a:hover {
    background: #e2e8f0;
    color: #1e40af;
  }

  .nav-list a.active {
    background: #2563eb;
    color: #fff;
  }

  .nav-list li {
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    padding: 0.75rem 1rem;
  }

  .logo svg {
    width: 50px;
    height: 50px;
  }

  .site-name {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 0.75rem 2rem;
  }

  .main {
    padding: 2.5rem 2rem 2rem;
  }
}
.dropdown {
      position: relative;
      display: inline-block;
    }

    .dropbtn {
      background-color:transparent;
	  font-style:italic;
		display:block;
      color: white;
      padding: 10px 16px;
      border: none;
      cursor: pointer;          /* hand cursor on button */
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
      z-index: 1;
    }

    .dropdown-content a {
      color: #333;
      padding:5px;
      text-decoration: none;
      display:flex;
      cursor: pointer;          
	  /* hand cursor on each link */
    }

    .dropdown-content a:hover {
      background-color: gray;
    }

    /* Show dropdown on hover */
    .dropdown:hover .dropdown-content  {
      display: block;
	  
    }
/* ========== Marquee (below menu) ========== */
.marquee-wrap {
  background: linear-gradient(90deg, #1e3a5f 0%, #2563eb 50%, #1e3a5f 100%);
  color: #fff;
  padding: 0.5rem 0;
  overflow: hidden;
  border-bottom: 2px solid #1e40af;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee span {
  padding: 0 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Footer (compact) ========== */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 0.5rem 1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-line {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

.footer-line a {
  color: #93c5fd;
}

.footer-line a:hover {
  text-decoration: underline;
}

/* Legacy footer structure (other pages) */
.footer h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.footer-contact a {
  color: #93c5fd;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #334155;
  font-size: 0.8125rem;
  color: #94a3b8;
  text-align: center;
}

/* ========== Home: Gallery first, then Donate below, then Social ========== */
.page-home .hero-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.page-home .slider-wrap {
  flex: none;
  width: 100%;
}

.donate-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1rem 1.25rem 0;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.donate-box:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
}

.donate-box h2 {
  font-size: 1.25rem;
  color: #166534;
  margin: 0;
  flex: 0 0 auto;
}

.donate-box .donate-cta {
  display: inline-block;
  text-align: center;
  background: #22c55e;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}

.donate-box .donate-cta:hover {
  background: #16a34a;
  transform: scale(1.05);
  color: #fff;
}

.donate-qr-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
}

.donate-qr-item {
  text-align: center;
}

.donate-qr-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #166534;
  margin: 0 0 0.25rem 0;
}

.donate-qr-img {
  width: 100px;
  height: 100px;
  display: block;
  border-radius: 8px;
  border: 2px solid #22c55e;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
}

.donate-box .donate-scan {
  text-align: center;
  margin: 0;
}

.donate-box .donate-scan-label,
.donate-scan-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #166534;
  margin: 0 0 0.25rem 0;
}

.donate-box .donate-scan img {
  max-width: 160px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.donate-box .upi-block {
  margin: 0;
  text-align: center;
}

.donate-box .upi-block img {
  max-width: 160px;
  height: auto;
  border-radius: 8px;
}

.slider-wrap {
  min-width: 0;
  min-height: 280px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.2s;
}

.slider-wrap:hover {
  transform: scale(1.01);
}

@media (max-width: 767px) {
  .donate-box { flex-direction: column; margin: 1rem; }
  .donate-box .donate-scan img,
  .donate-box .upi-block img { max-width: 100%; }
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  aspect-ratio: 16/10;
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slider-slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.94) contrast(1.04) saturate(1.05);
  transition: filter 0.4s ease;
}

.slider-slide.active img {
  filter: brightness(1) contrast(1.02) saturate(1.08);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-prev:hover,
.slider-next:hover {
  background: #fff;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #fff;
}

/* ========== Social links (colorful icons) ========== */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-bar a:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

.social-bar a svg {
  width: 24px;
  height: 24px;
}

.social-bar .yt { background: #ff0000; }
.social-bar .fb { background: #1877f2; }
.social-bar .tw { background: #1da1f2; }
.social-bar .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-bar .wa { background: #25d366; }

/* ========== Gallery page ========== */
.page-gallery .main {
  max-width: 100px;
}

.gallery-year-select {
  margin-bottom: 1.5rem;
}

.gallery-year-select label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.gallery-year-select select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #2563eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-tabs button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #2563eb;
  background: #fff;
  color: #2563eb;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gallery-tabs button.active {
  background: #2563eb;
  color: #fff;
}

.gallery-tabs button:hover:not(.active) {
  background: #eff6ff;
}

.gallery-upload {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  text-align: center;
}

.gallery-upload label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.gallery-upload input[type="file"] {
  margin: 0.5rem auto;
  font-size: 0.875rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  background: #f1f5f9;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-item .admin-comment {
  padding: 0.75rem;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.gallery-item .admin-comment label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.gallery-item .admin-comment textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  resize: vertical;
}

.gallery-panel {
  display: none;
}

.gallery-panel.active {
  display: block;
}

/* ========== Inner page content ========== */
.page-inner .main {
  padding-top: 1.5rem;
}

.page-inner .section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

/* ========== Page upload (text/photo) - visible to viewers ========== */
.page-upload-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.page-upload-block h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.page-upload-block .upload-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #475569;
}

.page-upload-block textarea.upload-text {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.2s, transform 0.2s;
}

.page-upload-block textarea.upload-text:focus {
  outline: none;
  border-color: #2563eb;
}

.page-upload-block input[type="file"] {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.page-upload-block .btn-upload {
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.page-upload-block .btn-upload:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.viewer-content-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.viewer-content-wrap h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #475569;
}

.viewer-content-item {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.viewer-content-item:hover {
  transform: scale(1.01);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.viewer-content-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* ========== Public Review - Rate us + comment ========== */
.rate-us-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.rate-us-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.rating-stars {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-stars button {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.rating-stars button:hover {
  transform: scale(1.1);
  background: #fef3c7;
  border-color: #f59e0b;
  color: #f59e0b;
}

.rating-stars button.selected {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.review-comment-wrap {
  margin-bottom: 1rem;
}

.review-comment-wrap label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #475569;
}

.review-comment-wrap textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

.review-comment-wrap textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.btn-submit-review {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-submit-review:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.reviews-list {
  margin-top: 2rem;
}

.reviews-list h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.review-card {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: scale(1.01);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.review-card .stars {
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.review-card .comment {
  color: #334155;
  font-size: 0.9375rem;
}

