/* Page-specific styles for index.ejs (light, modern) */

:root{
  --accent: #4361ee;
  --accent-2: #4cc9f0;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --bg: #f6f7fb;
  --text: #111827;
  --shadow-1: 0 6px 24px rgba(34,40,80,0.06);
  --shadow-2: 0 18px 36px rgba(34,40,80,0.08);
  --radius-lg: 1rem;
  --radius-xl: 1.75rem;
  --glass: rgba(255,255,255,0.6);
  --transition-fast: 0.18s;
  --transition: 0.22s;
}

/* Base */
html,body{height:100%}
body{
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height:1.45;
  margin:0;
  padding:0;
}

/* HERO */
.hero-section{
  background: linear-gradient(135deg,var(--accent) 0%,#224abe 100%);
  color: #fff;
  padding: 5.25rem 0 4.5rem;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 8px 30px rgba(34,40,80,0.06);
}
.hero-section .display-4{ font-weight:700; letter-spacing:-0.02em; }
.hero-section .lead{
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons in hero */
.hero-section .btn {
  border-width: 0;
  box-shadow: 0 6px 18px rgba(67,97,238,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-section .btn:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* STATS */
.stats-section{
  margin-top: -2.25rem;
  padding: 0 0 1.5rem 0;
}
.stat-card{
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-number{
  font-weight: 700;
  color: var(--accent);
  font-size: 1.75rem;
}

/* SECTION TITLES */
.section-heading{
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .75rem;
}

/* SEARCH BAR */
.search-bar .form-control{
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 6px 18px rgba(67,97,238,0.06);
  border: 0;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

/* CARDS & GRID */
.tools-grid .card{
  border: none;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  display:flex;
  flex-direction:column;
}
.card-hover{ 
  padding: 1.5rem;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.card-hover:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

/* ICON */
.icon-container{
  width:72px;
  height:72px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 1rem;
  background: #f7f9ff;
}

/* BADGE FEATURE */
.badge-feature{
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color: #fff;
  box-shadow: 0 6px 18px rgba(67,97,238,0.06);
}

/* CTA SECTION (in-hero variant uses white text) */
.cta-section{
  background: linear-gradient(135deg,#2b47b8 0%, #2b5fc5 100%);
  color: #fff;
  padding: 2.5rem 1rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.cta-section .btn{
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-weight:600;
}
.cta-section .btn:hover{ opacity:.98; transform: translateY(-2px); }


.features-section i{ display:inline-block; width:64px; height:64px; line-height:64px; border-radius:12px; background: rgba(0,0,0,0.03); margin-bottom: .75rem; }
.features-section h5{ margin-bottom: .5rem; font-weight:600; }


@media (max-width: 991.98px){
  .hero-section{ padding: 4rem 0 3.25rem; border-bottom-left-radius:18px; border-bottom-right-radius:18px; }
  .icon-container{ width:64px; height:64px; }
  .card-hover{ padding:1.25rem; border-radius:12px; }
  .navbar-collapse{ padding:1rem; margin-top:.6rem; border-radius:12px; }
  .nav-link{ padding: .9rem 1rem !important; border-radius:10px; }
}


footer.site-footer{
  padding:2.5rem 0;
  color: var(--muted);
  background: transparent;
  font-size: .95rem;
}


.text-muted { color: #6b7280 !important; }
.small { font-size: .9rem; }


a:focus, button:focus, .form-control:focus {
  outline: 3px solid rgba(67,97,238,0.14);
  outline-offset: 2px;
    box-shadow: none;
}