/* Fonts आणि Base */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:'Poppins',sans-serif;
  line-height:1.6;
  background:#f8fafc;
  color:#222;
}

/* Header */
.site-header{
  background:#003366;
  color:#fff;
  position:sticky;
  top:0;
  z-index:10;
  box-shadow:0 2px 5px rgba(0,0,0,0.3);
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
}
.logo{width:60px;height:60px;border-radius:50%;object-fit:cover;margin-right:10px;}
.brand{display:flex;align-items:center;gap:10px;}
.brand-text h1{font-size:1.4rem;margin:0;}
.brand-text h3{font-size:0.9rem;font-weight:400;color:#cde;}
.main-nav a{
  color:#fff;text-decoration:none;
  margin:0 10px;
  font-weight:500;
  transition:0.3s;
}
.main-nav a:hover{color:#ffcc00}

/* Hero Section */
.hero{
  position:relative;
  height:70vh;
  background:url('image/bg.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}
.hero .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
}
.hero-content{
  position:relative;
  z-index:1;
  max-width:700px;
}
.hero h1{font-size:2rem;margin-bottom:1rem;}
.hero p{margin-bottom:1.5rem;}
.btn{
  background:#ffcc00;
  color:#003366;
  padding:10px 20px;
  border-radius:25px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
.btn:hover{background:#ffd633;}
.hero {
  position: relative;
  height: 80vh; /* height adjust करू शकतो */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out; /* smooth transition */
}

.hero .overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Sections */
.section{padding:3rem 0;text-align:center;}
.card{
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  border-radius:10px;
  padding:1.5rem;
  margin:1.5rem 0;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
}

/* Member Slider */
.member-slider {
  overflow: hidden;
  background: #f0f4ff;
  border-radius: 10px;
  margin-top: 2rem;
  padding: 1rem 0;
}

.slide-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.member-card {
  background: #360563;
  color: #e5ebf0;
  border-radius: 10px;
  padding: 1rem;
  margin: 0.5rem;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(243, 241, 241, 0.1);
  transition: transform 0.3s;
}
.member-card:hover {
  transform: scale(1.05);
}

.member-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 3px solid #d9e3ec;
}

.member-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.member-card p {
  font-size: 0.9rem;
  color: #e2dada;
}
/* Ongoing Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.program-card {
  background: #ffffffcc;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.program-card h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.program-card p {
  font-size: 0.9rem;
  color: #444;
}


/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:10px;
}
.gallery img{
  width:100%;
  border-radius:8px;
  transition:transform 0.3s;
}
.gallery img:hover{
  transform:scale(1.05);
}


/* ===== Image Zoom Modal ===== */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  border: 4px solid #fff;
  border-radius: 10px;
  animation: zoom 0.5s ease;
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #ff6600;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
}

/* Footer */
.site-footer{
  background:#003366;
  color:#fff;
  text-align:left;
  padding:1.5rem 0;
  margin-top:2rem;
}
.site-footer small{color:#cde;}
html {
  scroll-behavior: smooth; /* 👈 हे smooth scroll साठी */
}

section {
  scroll-margin-top: 100px; /* header खाली section लपणार नाही म्हणून */
}
.main-nav a.active {
  color: #ffcc00;
  font-weight: bold;
  border-bottom: 2px solid #ffcc00;
}
