/* General Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f8fafc;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}

section, .section {
  padding: 60px 0 40px 0;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}
h1, h2, h3 {
  margin-bottom: .7em;
  line-height: 1.15;
}
p.intro {
  font-size: 1.15em;
  color: #555;
}
a {
  color: #3668d6;
  text-decoration: none;
}
a.cta {
  display: inline-block;
  background: #3668d6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background 0.2s;
  margin-top: 20px;
}
a.cta:hover,
button.cta:hover {
  background: #25408f;
}

button.cta {
  background: #3668d6;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background 0.2s;
}

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e9e9ee;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  transition: box-shadow 0.2s;
}
.logo {
  font-size: 1.35em;
  font-weight: 700;
  color: #3668d6;
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  font-weight: 500;
  color: #222;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #3668d6;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #25408f;
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(108deg, #3668d6 12%, #48c6ef 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0 60px;
}
.hero-inner {
  max-width: 700px;
  margin: auto;
}
.hero-video {
  margin: 30px auto;
  max-width: 480px;
  box-shadow: 0 2px 10px rgba(54,104,214,0.1);
  border-radius: 10px;
}
.hero video {
  width: 100%;
  border-radius: 10px;
}
.lead {
  font-size: 1.3em;
  color: #e3f0ff;
  margin-bottom: 25px;
}

/* Counters */
.counters {
  background: #fff;
  text-align: center;
}
.counter-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.counter-grid div {
  background: #f0f5ff;
  padding: 30px 20px;
  border-radius: 13px;
  min-width: 160px;
  box-shadow: 0 1px 8px rgba(54,104,214,0.06);
}
.counter {
  font-size: 2.5em;
  color: #3668d6;
  margin-bottom: 6px;
  font-weight: bold;
}

/* Section Layouts */
.grid.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.grid.four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(60,60,110,0.07);
  padding: 30px 22px;
  transition: transform 0.14s, box-shadow 0.14s;
}
.card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 6px 24px rgba(60,60,110,0.18);
}

/* Resources Section */
.blog-list .card {
  border-left: 6px solid #3668d6;
}
.blog-list h3 {
  margin-top: 0;
  font-size: 1.09em;
}
.blog-list p {
  font-size: .98em;
}
.blog-list a {
  color: #25408f;
  text-decoration: underline;
}

/* Testimonials Carousel (Swiper) */
.swiper-container {
  width: 100%;
  max-width: 600px;
  margin: 38px auto 0;
}
.swiper-slide blockquote {
  font-size: 1.08em;
  background: #f0f5ff;
  border-radius: 10px;
  padding: 26px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(54,104,214,0.08);
  position: relative;
}
.swiper-slide cite {
  color: #3668d6;
  font-style: normal;
  font-size: .98em;
  margin-top: 10px;
  display: block;
}
.swiper-pagination {
  margin-top: 14px !important;
}

/* Newsletter */
.newsletter {
  background: #f0f5ff;
  text-align: center;
}
.newsletter-form {
  margin-top: 23px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.newsletter-form input[type="email"] {
  padding: 10px 18px;
  border-radius: 26px;
  border: 1px solid #c7ccda;
  font-size: 1em;
  outline: none;
  max-width: 260px;
}
.newsletter-form button {
  padding: 10px 28px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 440px;
  margin: 0 auto 14px auto;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #d6deed;
  font-size: 1em;
  font-family: inherit;
  background: #f7faff;
  resize: vertical;
}
.contact-form textarea {
  min-height: 70px;
}
.contact-form button {
  margin-top: 8px;
}
.muted {
  font-size: .97em;
  color: #555;
  text-align: center;
}

/* Footer */
.footer {
  background: #25408f;
  color: #fff;
  padding: 22px 0;
}
.footer-inner {
  text-align: center;
  font-size: .98em;
  letter-spacing: .02em;
}

/* Responsive Queries */
@media (max-width: 950px) {
  .container {
    width: 96vw;
    max-width: 98vw;
  }
  .grid.three, .grid.four {
    gap: 18px;
  }
  .hero-inner {
    padding: 0 7vw;
  }
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding-bottom: 8px;
  }
  .nav-links {
    flex-direction: column;
    gap: 18px;
    background: #fff;
    box-shadow: 0 3px 18px rgba(54,104,214,0.07);
    position: absolute;
    width: 100vw;
    left: 0;
    top: 54px;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .container, .hero-inner {
    width: 99vw;
    padding: 0 2.5vw;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 520px) {
  .counters .counter-grid {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    padding: 34px 0 28px;
  }
}

/* Utility */
::-webkit-input-placeholder { color: #a1abc6; }
::-moz-placeholder { color: #a1abc6; }
:-ms-input-placeholder { color: #a1abc6; }
::placeholder { color: #a1abc6; }

