/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --gray-bg: #f7f9fb;
  --gray: #e5e7eb;
  --text: #22223b;
  --text-light: #6b7280;
  --card-radius: 18px;
  --transition: 0.2s all cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Jost', Arial, sans-serif;
  background: #fff;
  color: var(--text);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Bar - Firefly style */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 28, 48, 0.92);
  color: #fff;
  font-size: 0.97rem;
  padding: 0.25rem 0;
  z-index: 200;
  display: flex;
  align-items: center;
  min-height: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.top-bar-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.top-bar span, .top-bar a {
  color: #fff;
  opacity: 0.95;
  font-size: 0.97rem;
  text-decoration: none;
}
.top-bar-social a img {
  width: 18px;
  margin-left: 0.4rem;
  vertical-align: middle;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.top-bar-social a img:hover {
  opacity: 1;
}

/* Header/Nav - Firefly style */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 150;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
  box-shadow: 0 2px 8px rgba(30,64,175,0.10); /* subtle shadow always */
}
.header.transparent {
  background: transparent;
  box-shadow: 0 2px 8px rgba(30,64,175,0.10);
}
.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,64,175,0.13);
}
.header .logo img {
  transition: filter 0.3s;
  height: 54px;
}
.header.transparent .logo img {
  filter: drop-shadow(0 0 2px #fff);
}
.header.scrolled .logo img {
  filter: none;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.7rem;
}
.nav-links a {
  color: #fff;
  transition: color 0.3s, background 0.3s;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.header.scrolled .nav-links a {
  color: var(--text);
}
.header.scrolled .nav-links a.nav-cta {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,64,175,0.13);
}
.header.transparent .nav-links a.nav-cta {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(30,64,175,0.13);
}
.header .nav-links a.nav-cta {
  font-weight: 600;
  border-radius: 999px;
  margin-left: 1rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  padding: 0.6rem 1.5rem;
  font-size: 1.08rem;
}
.header .nav-links a.nav-cta:hover {
  filter: brightness(0.97);
  box-shadow: 0 4px 16px rgba(30,64,175,0.18);
}

/* Hero Section Overlay and Centering - Firefly style */
.hero {
  position: relative;
  min-height: 92vh;
  background: url('images/hero-bg.jpg') center/cover no-repeat, var(--primary-dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 64, 175, 0.65); /* blue-tinted overlay */
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-content h1 {
  font-family: 'Montserrat', 'Jost', Arial, sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-sub {
  font-family: 'Montserrat', 'Jost', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  color: #e0e7ef;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.hero-divider {
  width: 48px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  margin: 0 auto 1.3rem auto;
  opacity: 0.85;
}
.hero-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.2rem;
}
.hero-btn {
  padding: 1.05rem 2.2rem;
  font-size: 1.08rem;
  border-radius: 999px;
  border: 2.5px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', 'Jost', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(30,64,175,0.13);
  letter-spacing: 0.01em;
  min-width: 150px;
  display: inline-block;
}
.hero-btn-primary {
  background: #2563eb;
  border: 2.5px solid #2563eb;
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,64,175,0.18);
}
.hero-btn-primary:hover {
  background: #fff;
  color: #2563eb;
  border: 2.5px solid #fff;
}
.hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 2.5px solid #fff;
}
.hero-btn-outline:hover {
  background: #fff;
  color: #1e40af;
  border: 2.5px solid #fff;
}
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero {
    min-height: 60vh;
  }
  .nav-links {
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero {
    min-height: 50vh;
  }
}

/* Features Section Header - Firefly style refined */
.features-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.features-section-subtitle {
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.features-section-title {
  font-family: 'Montserrat', 'Jost', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #22223b;
  margin-bottom: 0.3rem;
  line-height: 1.18;
}
.features-section-divider {
  width: 36px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  margin: 0.7rem auto 0 auto;
  opacity: 0.85;
}

.features-card-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(30,64,175,0.10);
  padding: 3.2rem 2rem 2.2rem 2rem;
  flex: 1 1 340px;
  min-width: 280px;
  max-width: 370px;
  margin-bottom: 2.5rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-card:hover {
  box-shadow: 0 16px 48px rgba(30,64,175,0.16);
  transform: translateY(-8px) scale(1.03);
}

.feature-card-highlight {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 8px 40px rgba(255, 0, 0, 0.10), 0 8px 40px rgba(30,64,175,0.13);
  position: relative;
  z-index: 2;
}
.feature-card-highlight::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 70%;
  height: 18px;
  background: radial-gradient(ellipse at center, #ffb6b6 0%, rgba(255,255,255,0) 80%);
  opacity: 0.25;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}
.feature-card-highlight h4,
.feature-card-highlight p {
  color: #fff;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 16px rgba(30,64,175,0.10);
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  border: 6px solid #fff;
}
.feature-icon-blue {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
}
.feature-icon-white {
  background: #fff;
  color: #2563eb;
  border: 6px solid #3b82f6;
}

.feature-card h4 {
  font-family: 'Montserrat', 'Jost', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #22223b;
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.feature-card-highlight h4 {
  color: #fff;
}
.feature-card p {
  color: #64748b;
  font-size: 1.04rem;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.7;
}
.feature-card-highlight p {
  color: #e0e7ef;
}

@media (max-width: 900px) {
  .features-card-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .feature-card {
    min-width: 220px;
    max-width: 98vw;
    padding: 3.2rem 1.2rem 2.2rem 1.2rem;
  }
  .feature-icon {
    width: 60px;
    height: 60px;
    top: -30px;
  }
}

.more-features {
  background: var(--gray-bg);
  padding: 60px 0 40px 0;
}
.more-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2.5rem;
}
.more-feature {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px rgba(30,64,175,0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.more-feature:hover {
  box-shadow: 0 6px 24px rgba(30,64,175,0.13);
  transform: translateY(-6px) scale(1.03);
}
.more-feature-icon {
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
}

.testimonials {
  background: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
}
.testimonial-slider {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--gray-bg);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px rgba(30,64,175,0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 1.5rem;
  text-align: left;
}
.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
}
.testimonial-author span {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.95rem;
}

.cta-section {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0 60px 0;
}
.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.cta-btn {
  background: #fff;
  color: var(--primary-dark);
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,64,175,0.07);
}
.cta-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.footer {
  background: #fff;
  border-top: 1px solid var(--gray);
  color: var(--text);
  padding: 40px 0 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--primary-dark);
}
.footer-social a img {
  width: 26px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.footer-bottom {
  text-align: center;
  color: var(--text-light);
  font-size: 0.98rem;
  padding: 1.5rem 0 1rem 0;
  border-top: 1px solid var(--gray);
}

@media (max-width: 900px) {
  .features-card-row, .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  .nav-links {
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .nav-container, .top-bar-content {
    flex-direction: column;
    gap: 0.5rem;
    height: auto;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
} 