/*
 * Fasthelp - Responsive “From Scratch” Modern Theme
 * Works with Bootstrap 5 layout + components.
 */

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

:root {
  --fh-primary: #4f46e5;     /* indigo */
  --fh-primary-2: #2563eb;   /* blue */
  --fh-accent: #22c55e;       /* green */
  --fh-bg: #0b1220;           /* deep footer bg */
  --fh-surface: #ffffff;
  --fh-muted: #64748b;
  --fh-text: #0f172a;

  --fh-radius: 18px;
  --fh-radius-sm: 14px;

  --fh-border: rgba(15, 23, 42, 0.10);
  --fh-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --fh-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);

  --fh-focus: rgba(79, 70, 229, 0.22);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--fh-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Common */
.wrapper {
  min-height: 100%;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.90) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(15,23,42,0.08);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar .nav-link {
  color: #0f172a !important;
  font-weight: 700;
  padding: 10px 14px !important;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(37, 99, 235, 0.10);
  color: var(--fh-primary-2) !important;
}

.navbar-toggler {
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 .25rem var(--fh-focus) !important;
}

/* Hero/Banner */
.banner {
  position: relative;
  color: #fff;
  padding: 92px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--fh-primary) 0%, var(--fh-primary-2) 100%);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.22), transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,0.14), transparent 45%),
    radial-gradient(circle at 40% 90%, rgba(34,197,94,0.22), transparent 35%);
  pointer-events: none;
}

.banner > .container {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.banner h3 {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.95;
}

.banner .btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.22);
}

/* Sections */
.section-title {
  font-size: 2rem;
  font-weight: 900;
}

.lead-muted {
  color: var(--fh-muted);
  font-weight: 600;
}

/* Cards/Features */
.services {
  background: #fff;
}

.feature-card {
  height: 100%;
  border-radius: var(--fh-radius);
  border: 1px solid var(--fh-border);
  box-shadow: 0 1px 0 rgba(15,23,42,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: #fff;
  padding: 22px 18px;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--fh-shadow-soft);
}

.feature-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px auto;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.18), rgba(37,99,235,0.10));
  border: 1px solid rgba(79,70,229,0.22);
  color: var(--fh-primary-2);
  font-size: 34px;
}

.feature-icon i {
  font-weight: 900;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--fh-muted);
  font-weight: 600;
  margin-bottom: 18px;
}

/* Contact */
.contact {
  background: #f7f8fc;
  padding: 76px 0;
}

.contact .contact-title {
  font-size: 2rem;
  font-weight: 900;
}

.contact form {
  background: var(--fh-surface);
  padding: 26px;
  border-radius: var(--fh-radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 35px rgba(15,23,42,0.07);
}

.contact .form-control,
.contact textarea.form-control {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
  font-weight: 600;
}

.contact .form-control:focus,
.contact textarea.form-control:focus {
  border-color: rgba(79, 70, 229, 0.55);
  box-shadow: 0 0 0 .25rem rgba(79, 70, 229, 0.18);
}

.contact button.btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--fh-primary) 0%, var(--fh-primary-2) 100%);
  border: 0;
}

.contact button.btn:hover {
  filter: brightness(1.05);
}

.contact .contact-info-block {
  padding: 18px;
  border-radius: var(--fh-radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  height: 100%;
}

.contact .contact-info-block i {
  font-weight: 900;
}

.contact img {
  width: 100%;
  height: auto;
  border-radius: var(--fh-radius);
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Footer */
footer {
  background: var(--fh-bg) !important;
  padding: 44px 0 26px;
  text-align: center;
}

footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  transition: all 0.2s ease;
  margin: 0 6px;
}

footer .social a i {
  font-weight: 400;
}

footer .social a:hover {
  background: var(--fh-primary-2);
  transform: translateY(-2px);
}

footer .copy-right a {
  font-weight: 900;
}

/* Responsive */
@media (max-width: 991.98px) {
  .banner { padding: 72px 0; }
  .contact { padding: 56px 0; }
}

@media (max-width: 575.98px) {
  .feature-icon { width: 76px; height: 76px; font-size: 30px; border-radius: 22px; }
  .contact form { padding: 18px; }
}
