/* Young-Scientist.in — Custom styles (Tailwind handles most, this fills gaps) */

:root {
  --ys-navy: #0d2137;
  --ys-navy-light: #1a3a5c;
  --ys-green: #16a34a;
  --ys-green-dark: #15803d;
  --ys-gold: #f59e0b;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Nav active link underline */
.nav-link-active {
  border-bottom: 2px solid #16a34a;
  padding-bottom: 2px;
}

/* Hero gradient overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(13,33,55,0.92) 0%, rgba(13,33,55,0.70) 100%);
}

/* Stat counter cards */
.stat-card {
  border-top: 3px solid var(--ys-green);
}

/* Service cards hover */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13,33,55,0.12);
}

/* YouTube embed responsive */
.yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Mobile nav */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}

/* Section divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--ys-green);
  margin: 0 auto 1.5rem;
}
.section-divider.left {
  margin-left: 0;
}

/* Revival banner */
.revival-banner {
  background: linear-gradient(135deg, var(--ys-navy) 0%, var(--ys-navy-light) 100%);
}

/* Form focus */
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ys-green);
  outline-offset: 1px;
}

/* Gallery grid images */
.gallery-img {
  transition: opacity 0.2s ease;
}
.gallery-img:hover {
  opacity: 0.85;
}

/* Article prose */
.prose-ys p { margin-bottom: 1.1rem; line-height: 1.75; }
.prose-ys h3 { margin: 1.75rem 0 0.75rem; font-weight: 700; color: var(--ys-navy); }
.prose-ys ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-ys ul li { margin-bottom: 0.4rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--ys-navy) 0%, var(--ys-navy-light) 100%);
  padding: 5rem 1.5rem 3.5rem;
}

/* Button styles */
.btn-primary {
  background-color: var(--ys-green);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s;
}
.btn-primary:hover { background-color: var(--ys-green-dark); }

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline:hover { background-color: #fff; color: var(--ys-navy); }

.btn-navy {
  background-color: var(--ys-navy);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s;
}
.btn-navy:hover { background-color: var(--ys-navy-light); }
