/* 
   Inspire Life Foundation - Modern NGO Web Styling 
   Theme: Vibrant Emerald Green, Royal Navy Blue, Warm Sun Gold
*/

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #059669;         /* Vibrant Emerald Green */
  --primary-hover: #047857;
  --primary-light: #d1fae5;
  --secondary: #0f172a;       /* Deep Royal Navy */
  --secondary-light: #1e293b;
  --accent: #f59e0b;          /* Radiant Sun Gold */
  --accent-hover: #d97706;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 35px -10px rgba(5, 150, 105, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
  color: var(--secondary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #10b981);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--secondary);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* TOP HEADER NOTIFICATION BAR */
.top-bar {
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info-item i {
  color: var(--primary);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-only-btn {
  display: none;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.top-social a:hover {
  background: var(--primary);
  color: #ffffff;
}

/* HEADER & NAVIGATION */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-brand img {
  height: 56px;
  width: auto;
}

.logo-text h1 {
  font-size: 20px;
  line-height: 1.1;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--secondary);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

/* NOTICE TICKER BAR */
.notice-ticker {
  background: linear-gradient(90deg, #059669, #0f172a);
  color: #ffffff;
  padding: 8px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 14px;
}

.notice-label {
  background: var(--accent);
  color: #0f172a;
  padding: 4px 14px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-right: 15px;
  white-space: nowrap;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(5, 150, 105, 0.85)),
              url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.pillar-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* OVERLAPPING IMPACT STATS */
.stats-bar-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* SECTION COMMONS */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* FEATURE PILLARS CARDS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ACTIVITIES & GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.act-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.act-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.act-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.act-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.act-card:hover .act-img img {
  transform: scale(1.08);
}

.act-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.act-body {
  padding: 20px;
}

.act-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.act-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.act-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* COURSES SECTION */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.course-category {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-card h3 {
  font-size: 20px;
  margin: 8px 0 12px;
}

.course-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.course-info-list {
  list-style: none;
  margin-bottom: 20px;
  font-size: 13px;
}

.course-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.course-info-list i {
  color: var(--primary);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.course-fee {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}

.course-fee.free {
  color: var(--primary);
}

/* DONATION CTA BANNER */
.donate-cta-section {
  background: linear-gradient(135deg, var(--secondary), #059669);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin: 40px auto;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-cta-section h2 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 16px;
}

.donate-cta-section p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 30px;
}

/* TEAM MEMBERS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 24px;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid var(--primary-light);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
}

.team-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* FORMS STYLING */
.form-card {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ALERT MESSAGES */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.alert-success {
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* FOOTER */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 70px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.legal-badges {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}

.legal-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 4px;
}

/* FLOATING QUICK ACTIONS BAR */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.donate {
  background: var(--primary);
}

/* RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS */

/* Table responsive wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 15px;
  border-radius: var(--radius-sm);
}

.table-responsive table {
  min-width: 600px;
}

/* Mobile Nav Overlay Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Breakpoint 992px (Tablets / Laptops) */
@media (max-width: 992px) {
  .hero-section {
    padding: 60px 0 80px;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-pillars {
    justify-content: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 25px 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .mobile-toggle {
    display: block;
    z-index: 1000;
  }
  .mobile-only-btn {
    display: block;
    margin-top: 15px;
  }
  .desktop-only-btn {
    display: none;
  }
  
  /* Admin Panel Mobile Adjustments */
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    padding: 15px 0;
  }
  .admin-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 15px;
    gap: 10px;
  }
  .admin-nav-item a {
    padding: 8px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm);
  }
  .admin-nav-item a:hover,
  .admin-nav-item a.active {
    border-left: none;
    border-bottom-color: var(--primary);
    background: rgba(255,255,255,0.12);
  }
  .admin-main {
    padding: 20px 15px;
  }
}

/* Breakpoint 768px (Mobile Landscape / Large Phones) */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 26px;
  }
  .form-card {
    padding: 24px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .top-info {
    justify-content: center;
    gap: 12px;
  }
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
  }
  .donate-cta-section {
    padding: 40px 20px;
  }
  .donate-cta-section h2 {
    font-size: 26px;
  }
  .donate-cta-section p {
    font-size: 15px;
  }
}

/* Breakpoint 576px (Mobile Phones) */
@media (max-width: 576px) {
  .logo-text h1 {
    font-size: 16px;
  }
  .logo-text span {
    font-size: 9px;
  }
  .logo-brand img {
    height: 44px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .stats-bar-wrapper {
    margin-top: -30px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }
  .stat-card {
    padding: 5px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .legal-badges {
    flex-direction: column;
    align-items: center;
  }
  .floating-actions {
    bottom: 15px;
    right: 15px;
  }
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .preset-btn {
    width: 100%;
  }
}

