/* Modern homepage layer. Scoped to index.html via .home-page. */
:root {
  --cz-navy: #173f73;
  --cz-blue: #006fba;
  --cz-cyan: #08aeea;
  --cz-orange: #f36b2b;
  --cz-ink: #18324a;
  --cz-muted: #607286;
  --cz-surface: #ffffff;
  --cz-soft: #f3f8fc;
  --cz-border: rgba(23, 63, 115, 0.12);
  --cz-shadow: 0 18px 50px rgba(23, 63, 115, 0.12);
  --cz-radius: 22px;
}

.home-page {
  background: #fff;
  color: var(--cz-ink);
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .navbar-nav {
  font-family: "Ubuntu", sans-serif;
}

.home-page .padding {
  padding: 96px 0;
}

.home-page .section-title {
  max-width: 780px;
  margin: 0 auto 54px;
}

.home-page .section-title h1 {
  color: var(--cz-navy) !important;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.home-page .section-kicker,
.home-page .hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cz-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.home-page .section-intro {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--cz-muted);
  font-size: 18px;
}

.home-page .educator-banner {
  position: relative;
  z-index: 5;
  padding: 11px 0;
  background: linear-gradient(90deg, #008ccf, #08aeea);
  text-align: center;
}

.home-page .educator-banner p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.home-page .educator-banner a {
  margin-left: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.home-page .educator-banner a:hover,
.home-page .educator-banner a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Hero */
.home-page #home-section {
  position: relative;
  height: 720px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 31, 61, 0.9) 0%, rgba(17, 58, 101, 0.72) 43%, rgba(17, 58, 101, 0.08) 75%),
    url("../images/Main_banner_mix.jpg") center / cover no-repeat;
}

.home-page #home-section::after {
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 140px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.home-page #main-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 720px;
}

.home-page .slide1 {
  height: 720px;
  background: transparent;
}

.home-page .home-content.padding {
  max-width: 650px;
  padding: 92px 20px 70px !important;
  text-align: left;
}

.home-page .hero-eyebrow {
  margin-bottom: 22px;
  color: #8ce5ff;
}

.home-page .hero-logo {
  width: min(330px, 72%);
  margin: 0 0 24px !important;
}

.home-page .home-content h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: none;
}

.home-page .hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.65;
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.home-page .hero-actions .btn {
  min-width: 158px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-page .hero-actions .btn:hover,
.home-page .hero-actions .btn:focus {
  transform: translateY(-2px);
}

.home-page .hero-primary {
  background: var(--cz-orange);
  color: #fff;
  box-shadow: 0 12px 30px rgba(243, 107, 43, 0.32);
}

.home-page .hero-primary:hover,
.home-page .hero-primary:focus {
  background: #ff7a37;
  color: #fff;
}

.home-page .hero-secondary {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-page .hero-secondary:hover,
.home-page .hero-secondary:focus {
  background: #fff;
  color: var(--cz-navy);
}

.home-page .platform-label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-page .app-icons {
  text-align: left;
}

.home-page .app-icons .list-inline {
  margin: 0;
}

.home-page .app-icons li {
  padding: 0 5px 0 0;
  vertical-align: top;
}

.home-page .app-icons li a {
  width: 76px;
  height: 72px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.home-page .app-icons li a:hover,
.home-page .app-icons li a:focus {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.home-page .app-icons .fa-3x {
  font-size: 30px;
}

.home-page .app-icons .icon-first {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.home-page .app-icons .white-icon {
  margin: 4px 0 0;
  color: #fff;
  font-size: 12px !important;
}

/* Feature cards */
.home-page #features {
  position: relative;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #fff 0%, var(--cz-soft) 100%);
}

.home-page .all-features {
  display: block;
  text-align: left;
}

.home-page .all-features > .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: -12px;
  margin-bottom: 24px;
  margin-left: -12px;
}

.home-page .all-features > .row::before,
.home-page .all-features > .row::after {
  display: none;
  content: none;
}

.home-page .all-features .col-sm-4 {
  display: flex;
  float: none;
  width: 33.333333%;
  padding: 0 12px;
}

.home-page .feature {
  height: 100%;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius);
  background: var(--cz-surface);
  box-shadow: 0 8px 30px rgba(23, 63, 115, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.home-page .feature:hover {
  border-color: rgba(8, 174, 234, 0.35);
  box-shadow: var(--cz-shadow);
  transform: translateY(-6px);
}

.home-page .feature img {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  object-fit: contain;
}

.home-page .feature h2 {
  margin: 0 0 14px;
  color: var(--cz-navy);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.home-page .feature p {
  margin-bottom: 0;
  color: var(--cz-muted);
  font-size: 14px;
  line-height: 1.75;
}

.home-page .feature .btn {
  margin-top: 16px;
  padding: 0;
  color: var(--cz-blue);
  font-weight: 700;
}

/* Product showcase */
.home-page #whats-special {
  padding: 104px 0;
  background:
    linear-gradient(135deg, rgba(15, 49, 87, 0.97), rgba(0, 111, 186, 0.88)),
    url("../images/bg/special-bg.jpg") center / cover no-repeat;
}

.home-page #whats-special .overlay-bg,
.home-page #team .overlay-bg,
.home-page #chooser .overlay-bg {
  display: none;
}

.home-page #whats-special .section-title {
  margin-bottom: 34px;
}

.home-page #whats-special .section-title h1 {
  color: #fff !important;
}

.home-page #whats-special .section-title img {
  max-height: 70px !important;
  margin-right: 14px;
}

.home-page .special-features {
  margin-top: 0;
}

.home-page #whats-special .col-sm-3 > div {
  min-height: 430px;
  margin-top: 0;
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cz-radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.home-page #whats-special h3 {
  color: #fff;
  font-size: 22px;
}

.home-page #whats-special .hideBottom {
  margin-top: 0;
}

.home-page .special-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  margin-bottom: 0;
}

.home-page .special-image a {
  display: contents;
}

.home-page .special-image img {
  width: 47% !important;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.24));
}

.home-page .btn-primary,
.home-page .btn-primary.btn-animated {
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--cz-cyan);
  color: #fff !important;
  letter-spacing: 0.4px;
}

.home-page .btn-primary:hover,
.home-page .btn-primary:focus,
.home-page .btn-primary.btn-animated:hover,
.home-page .btn-primary.btn-animated:focus {
  border: 0;
  background: #fff;
  color: var(--cz-blue) !important;
}

/* Team and testimonials */
.home-page #team {
  padding: 96px 0;
  background: #edf5fb;
}

.home-page #team .section-title h1 {
  color: var(--cz-navy) !important;
}

.home-page #team .section-title img {
  width: 68px;
  height: 68px;
  margin-right: 16px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--cz-navy), var(--cz-blue));
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(23, 63, 115, 0.18);
}

.home-page #team-slider {
  padding: 0 70px;
}

.home-page .team {
  display: flex;
  min-height: 320px;
  margin: 10px;
  padding: 24px 16px;
  box-sizing: border-box;
  border: 1px solid var(--cz-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 63, 115, 0.08);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-page .team:hover {
  box-shadow: 0 18px 42px rgba(23, 63, 115, 0.14);
  transform: translateY(-4px);
}

.home-page .team img {
  width: 124px;
  height: 124px;
  margin: 0 auto 16px;
  border: 6px solid #eef7fd;
  border-radius: 50%;
  object-fit: cover;
}

.home-page .team:hover img {
  opacity: 1;
}

.home-page .team-info,
.home-page .team:hover .team-info {
  width: 100%;
  opacity: 1;
  transform: none;
}

.home-page .team-info h2 {
  margin: 0 0 8px;
  color: var(--cz-navy);
  font-size: 18px;
  line-height: 1.3;
}

.home-page .team-info p {
  min-height: 48px;
  margin: 0 0 10px;
  color: var(--cz-muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-page .team-info .social-icons {
  margin: 0;
}

.home-page .team-info .social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eaf5fc;
  color: var(--cz-blue);
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .team-info .social-icons a:hover,
.home-page .team-info .social-icons a:focus {
  background: var(--cz-blue);
  color: #fff;
  transform: translateY(-2px);
}

.home-page .team-slider-left,
.home-page .team-slider-right {
  top: 50%;
  width: 46px;
  height: 70px;
  border-radius: 14px;
  background: var(--cz-navy);
  transform: translateY(-50%);
}

.home-page #testimonial {
  background: #fff;
}

.home-page #testimonial-slider {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 90px 38px;
  border: 1px solid var(--cz-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--cz-shadow);
}

.home-page #testimonial-slider .item img {
  width: 100px;
  height: 100px;
  margin: 10px auto 18px;
  border: 5px solid #edf8fd;
  border-radius: 50%;
  object-fit: cover;
}

.home-page #testimonial-slider .item h2 {
  color: var(--cz-navy);
  font-size: 24px;
}

.home-page #testimonial-slider .item p {
  color: var(--cz-muted);
}

.home-page #testimonial-slider .item ul {
  color: #f5a623;
}

.home-page #testimonial-slider .carousel-control-prev,
.home-page #testimonial-slider .carousel-control-next {
  color: var(--cz-blue);
}

/* Download and audience chooser */
.home-page #download-apps {
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(228, 82, 23, 0.96), rgba(255, 136, 53, 0.92)),
    url("../images/bg/apps-bg.jpg") center / cover no-repeat;
}

.home-page #download-apps .overlay-bg {
  display: none;
}

.home-page #download-apps h1 {
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -1.5px;
}

.home-page #download-apps .compatibility {
  min-height: 315px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--cz-radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.home-page #chooser {
  padding: 100px 0 !important;
  background: var(--cz-soft) !important;
}

.home-page #chooser .section-title h1 {
  margin-bottom: 0 !important;
  color: var(--cz-navy) !important;
}

.home-page #chooser .row[style] {
  margin-top: 0 !important;
}

.home-page #chooser .col-sm-6 > div {
  min-height: 360px !important;
  padding: 42px !important;
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius) !important;
  box-shadow: 0 14px 45px rgba(23, 63, 115, 0.1) !important;
}

.home-page #chooser .col-sm-6:first-child > div {
  background: #fff !important;
}

.home-page #chooser .col-sm-6:last-child > div {
  background: linear-gradient(145deg, var(--cz-navy), var(--cz-blue)) !important;
}

.home-page #chooser h2 {
  font-size: 30px;
}

.home-page #chooser ul {
  display: inline-block;
  min-height: 115px;
}

.home-page #chooser .button {
  align-self: center;
  border-radius: 999px !important;
  box-shadow: 0 10px 26px rgba(23, 63, 115, 0.14);
}

/* Footer */
.home-page #footer {
  padding: 42px 0 34px;
  background: #102d51;
  color: rgba(255, 255, 255, 0.72);
}

.home-page #footer .overlay-bg {
  display: none;
}

.home-page #footer a {
  color: #fff;
}

.home-page #footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.home-page .demo-chooser .toggler {
  border-radius: 0 14px 14px 0;
  box-shadow: 0 10px 30px rgba(23, 63, 115, 0.16);
}

@media (max-width: 1199px) {
  .home-page .home-content.padding {
    padding-top: 72px !important;
  }
}

@media (max-width: 992px) {
  .home-page #home-section,
  .home-page #main-slider,
  .home-page .slide1 {
    height: 680px !important;
  }

  .home-page #home-section {
    background-position: 58% center;
  }

  .home-page .all-features .col-sm-4 {
    width: 50%;
    margin-bottom: 24px;
  }

  .home-page #whats-special .col-sm-3 > div,
  .home-page .special-image {
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .home-page .padding {
    padding: 72px 0;
  }

  .home-page .educator-banner p {
    font-size: 12px;
  }

  .home-page .educator-banner a {
    display: inline-block;
    margin-left: 4px;
  }

  .home-page #home-section,
  .home-page #main-slider,
  .home-page .slide1 {
    height: 660px !important;
  }

  .home-page #home-section {
    background:
      linear-gradient(90deg, rgba(8, 31, 61, 0.94), rgba(17, 58, 101, 0.76)),
      url("../images/Main_banner_mix.jpg") 64% center / cover no-repeat;
  }

  .home-page .home-content.padding {
    max-width: 100%;
    padding: 52px 6px 40px !important;
    text-align: center;
  }

  .home-page .hero-logo {
    width: min(270px, 72%) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .home-page .home-content h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .home-page .hero-copy {
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
  }

  .home-page .hero-actions {
    justify-content: center;
  }

  .home-page .app-icons {
    margin-top: 0;
    text-align: center;
    transform: none;
  }

  .home-page .app-icons .list-inline {
    margin-left: 0;
  }

  .home-page .all-features {
    display: block;
  }

  .home-page .all-features > .row {
    display: block;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
  }

  .home-page .all-features .col-sm-4 {
    display: block;
    width: 100%;
    padding: 0;
  }

  .home-page .feature {
    height: auto;
    margin-bottom: 18px;
  }

  .home-page #whats-special {
    padding: 72px 0;
  }

  .home-page #whats-special .col-sm-3 > div,
  .home-page .special-image {
    min-height: 0;
    margin: 0 0 24px;
  }

  .home-page .special-image {
    padding: 20px 0;
  }

  .home-page #team-slider {
    padding: 0 50px;
  }

  .home-page #testimonial-slider {
    padding: 20px 52px 32px;
  }

  .home-page #download-apps .compatibility {
    min-height: 0;
    margin-bottom: 20px;
  }

  .home-page #chooser .col-sm-6 > div {
    min-height: 0 !important;
    margin-bottom: 22px;
    padding: 32px 24px !important;
  }

  .home-page #footer,
  .home-page #footer .text-right {
    text-align: center;
  }

  .home-page #footer .footer-menu {
    margin-top: 20px;
  }
}

@media (max-width: 479px) {
  .home-page #home-section,
  .home-page #main-slider,
  .home-page .slide1 {
    height: 650px !important;
  }

  .home-page .home-content.padding {
    padding-top: 38px !important;
  }

  .home-page .home-content h1 {
    font-size: 34px;
  }

  .home-page .hero-copy {
    font-size: 14px;
  }

  .home-page .hero-actions .btn {
    width: 100%;
  }

  .home-page .platform-label {
    margin-top: 18px;
  }

  .home-page .app-icons li {
    min-width: 0;
  }

  .home-page .app-icons li a {
    width: 62px;
    height: 62px;
    padding: 8px 4px;
  }

  .home-page .app-icons .fa-3x {
    font-size: 24px !important;
  }

  .home-page .app-icons .icon-first {
    width: 24px !important;
    height: 24px;
  }

  .home-page .app-icons .white-icon {
    font-size: 10px !important;
  }

  .home-page .section-title h1 {
    font-size: 34px;
  }

  .home-page #testimonial-slider {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
