/* ===== SHREE SADKARYA SEWA SAMAJ - Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --green-dark: #1B5E20;
  --green: #2E7D32;
  --green-light: #4CAF50;
  --green-pale: #E8F5E9;
  --blue-dark: #0D47A1;
  --blue: #1565C0;
  --blue-light: #2196F3;
  --blue-pale: #E3F2FD;
  --gradient: linear-gradient(135deg, #1B5E20, #0D47A1);
  --gradient-h: linear-gradient(90deg, #388E3C, #1976D2);
  --gradient-light: linear-gradient(135deg, #E8F5E9, #E3F2FD);
  --text: #263238;
  --text-light: #546E7A;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #FAFFFE;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--gradient);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: white; }
.top-bar a:hover { opacity: 0.8; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 55px;
  width: 55px;
}
.nav-brand-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.nav-brand-text span {
  font-size: 11px;
  color: var(--text-light);
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--gradient-light);
  color: var(--green-dark);
}
.nav-links a.active {
  font-weight: 600;
}
.nav-cta {
  background: var(--gradient) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--gradient);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.8;
}
.hero-image { flex: 0 0 280px; text-align: center; }
.hero-image img { width: 250px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)); }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-white { background: white; color: var(--green-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gradient { background: var(--gradient); color: white; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 12px;
}
.btn-outline:hover { background: white; color: var(--green-dark); }

/* ===== SECTIONS ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--gradient-light); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .line {
  width: 60px;
  height: 3px;
  background: var(--gradient-h);
  margin: 12px auto 0;
  border-radius: 3px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  border-image: var(--gradient-h) 1;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--green-dark);
}
.card-icon i { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 24px; }
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--green-dark);
}
.card p { color: var(--text-light); font-size: 14px; }

/* ===== STATS ===== */
.stats {
  background: var(--gradient);
  padding: 50px 0;
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 { font-size: 38px; font-weight: 800; }
.stat-item p { font-size: 14px; opacity: 0.85; margin-top: 5px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--gradient);
  color: white;
  padding: 50px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-hero p { font-size: 16px; opacity: 0.85; }
.breadcrumb {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.7;
}
.breadcrumb a { color: white; text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: #0a1a0a;
  color: #ccc;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
}
.footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gradient-h);
}
.footer p, .footer a { font-size: 14px; color: #aaa; }
.footer a:hover { color: var(--green-light); }
.footer ul li { margin-bottom: 8px; }
.footer ul li a::before { content: '›  '; color: var(--green-light); }
.footer-brand img { height: 50px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid #1a2a1a;
  margin-top: 35px;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* ===== GOOGLE TRANSLATE ===== */
#google_translate_element {
  display: inline-block;
}
#google_translate_element select {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.goog-te-gadget { font-size: 0 !important; }
.goog-te-gadget .goog-te-combo { margin: 0 !important; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: white;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gallery-item .caption {
  padding: 15px;
}
.gallery-item .caption h4 { font-size: 15px; color: var(--green-dark); margin-bottom: 4px; }
.gallery-item .caption p { font-size: 13px; color: var(--text-light); }
.gallery-item .caption .date { font-size: 12px; color: var(--blue); font-weight: 500; }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}
.filter-tab {
  padding: 8px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid #ddd;
  background: white;
  color: var(--text);
  transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--green);
  background: var(--gradient);
  color: white;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding: 0 40px 40px 0;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  margin-left: 50%;
  padding: 0 0 40px 40px;
}
.timeline-dot {
  position: absolute;
  right: -8px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  border: 3px solid white;
  box-shadow: var(--shadow);
}
.timeline-item:nth-child(even) .timeline-dot { left: -8px; right: auto; }
.timeline-content {
  background: white;
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.timeline-content h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 5px; }
.timeline-content p { font-size: 14px; color: var(--text-light); }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: white;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.contact-info-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 15px; margin-bottom: 3px; color: var(--green-dark); }
.contact-info-card p { font-size: 14px; color: var(--text-light); }

/* ===== TRUSTEE CARDS ===== */
.trustee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.trustee-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.trustee-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.trustee-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid;
  border-image: var(--gradient-h) 1;
  margin-bottom: 15px;
}
.trustee-card h3 { font-size: 18px; color: var(--green-dark); }
.trustee-card .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.trustee-card p { font-size: 13px; color: var(--text-light); }

/* ===== ACHIEVEMENT ===== */
.achievement-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.achievement-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.achievement-card .icon {
  font-size: 50px;
  margin-bottom: 15px;
}
.achievement-card h3 {
  font-size: 18px;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.achievement-card p { font-size: 14px; color: var(--text-light); }

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.value-item {
  padding: 25px 15px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.value-item:hover { transform: translateY(-3px); }
.value-item .icon { font-size: 35px; margin-bottom: 10px; }
.value-item h4 { font-size: 14px; color: var(--green-dark); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 12px;
}
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 25px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content h2 { font-size: 30px; }
  .hero-image { flex: 0 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 30px 50px;
    justify-content: flex-start;
  }
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 12px; right: auto; }
}
@media (max-width: 576px) {
  .top-bar .container { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .section-title h2 { font-size: 26px; }
}
