:root {
  /* Gradient colors & basics */
  --primary-1: #3e4fe5;
  --primary-2: #97dffb;
  --accent-1: #6ccfa1;
  --accent-2: #e46ca1;
  --accent-3: #e3e399;
  --accent-4: #faeea3;
  --accent-dark: #22408c;
  --background-gradient: linear-gradient(
    120deg,
    #e0e8fb 0%,
    #a7e0ee 35%,
    #7bbbf9 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.43);
  --glass-border: rgba(209, 224, 255, 0.15);
  --glass-backdrop: blur(22px);
  --box-shadow-strong: 0 8px 32px 0 rgba(34, 64, 140, 0.2);
  --box-shadow-glass: 0 4px 28px 0 rgba(110, 144, 222, 0.13);
  --card-radius: 2.3rem;
  --section-padding: 2.7rem 0;
  --white: #fff;
  --black: #111926;
  --header-height: 72px;
  --success-bg: linear-gradient(120deg, #c0f7e4 0%, #88cbb2 100%);
  --danger-bg: linear-gradient(90deg, #e46ca1 0%, #b53b6a 100%);
  --dark: #181e31;
  --text-main: #222222;
  --text-dark: #333333;
  --text-light: #fff;
  --input-bg: rgba(255, 255, 255, 0.75);
  --input-border: #eaf1fa;
  --input-radius: 2rem;
  --transition-main: all 0.33s cubic-bezier(0.75, -0.23, 0.41, 1.35);
  --btn-radius: 2rem;
  --btn-shadow: 0 3px 18px 0 rgba(72, 85, 223, 0.14);
  --btn-gradient: linear-gradient(90deg, #3e4fe5 0%, #97dffb 100%);
  --btn-hover-gradient: linear-gradient(100deg, #2b34a4 0%, #68b8d5 100%);
  --main-border-width: 1.5px;
  --slider-bg: linear-gradient(90deg, #e0e8fb 0%, #d2eaff 100%);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  --link-blue: #356fc3;
  --link-hover: #1d3964;
}

.logo {
  text-decoration: none !important;
}

html {
  box-sizing: border-box;
  font-size: 18px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
body {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--background-gradient);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  text-shadow: var(--text-shadow);
  transition: color 0.32s;
}
h2,
.section-title {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}

p,
li,
label {
  color: var(--text-dark);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
.text-center {
  text-align: center;
}
.text-shadow {
  text-shadow: var(--text-shadow);
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.2rem;
}
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-between {
  justify-content: space-between;
}
.flex-center {
  justify-content: center;
  align-items: center;
}
.flex-align-center {
  align-items: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.is-two-thirds {
  width: 64%;
  flex-basis: 64%;
}

@media (max-width: 960px) {
  .is-two-thirds,
  .card {
    width: 92% !important;
    min-width: 250px !important;
  }
  .container {
    padding: 0 1rem;
  }
}
@media (max-width: 699px) {
  .container {
    padding: 0 0.4rem;
  }
  .flex-row,
  .flex-between,
  .flex-center {
    flex-direction: column !important;
  }
  .card {
    width: 90% !important;
  }
}

/* ======== GLASSMORPHISM STYLES ========== */
.glass,
.glass-morph,
.glass-gradient {
  border: var(--main-border-width) solid var(--glass-border);
  backdrop-filter: var(--glass-backdrop);
  background: var(--glass-bg);
  box-shadow: var(--box-shadow-glass);
}
.glass-gradient {
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.53) 68%,
    rgba(151, 223, 251, 0.52) 100%
  ) !important;
}
.glass-morph {
  background: rgba(255, 255, 255, 0.8) !important;
}
/* For sections with backgrounds + overlay */
.hero-section .hero-bg {
  min-height: 66vh;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .hero-bg::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(44, 32, 126, 0.33) 100%
  );
  pointer-events: none;
}
.hero-content,
.hero-content * {
  z-index: 2;
  position: relative;
}

/* Navbar/HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: linear-gradient(
    90deg,
    rgba(72, 85, 223, 0.82) 0%,
    rgba(162, 226, 251, 0.85) 100%
  ) !important;
  box-shadow: 0 5px 22px rgba(34, 32, 140, 0.14),
    0 0.5px 0 rgba(120, 160, 210, 0.08);
  border-bottom: none;
  display: flex;
  align-items: center;
  transition: background 0.44s;
}
.site-header-inner {
  width: 100%;
  height: var(--header-height);
  align-items: center;
}
.logo {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin-right: 2.5rem;
  text-decoration: none;
  color: #fff !important;
}

/* NAVIGATION */
nav.main-nav ul.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  align-items: center;
}
nav.main-nav ul li {
  display: inline-block;
}
nav.main-nav ul li a {
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  transition: background var(--transition-main), color var(--transition-main);
  text-decoration: none;
  text-shadow: 1px 1px 6px rgba(34, 34, 34, 0.16);
}
nav.main-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.23);
  color: #111;
}

/* Burger menu (mobile header) */
.burger-menu {
  background: none;
  border: none;
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 2rem;
}
.burger-menu span {
  display: block;
  width: 29px;
  height: 4px;
  margin: 0 0 3px 0;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition-main);
}

@media (max-width: 980px) {
  nav.main-nav ul.nav-links {
    flex-direction: column;
    background: var(--glass-bg);
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    z-index: 110;
    transition: height 0.3s;
    box-shadow: 0 5px 30px 0 rgba(85, 102, 180, 0.12);
  }
  nav.main-nav ul.nav-links.open {
    height: 320px;
    padding: 2rem 0;
  }
  nav.main-nav ul.nav-links li {
    margin-bottom: 1.1rem;
  }
  .site-header-inner {
    justify-content: space-between !important;
  }
  .burger-menu {
    display: flex;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.3rem;
  }
}

/* ================ HERO ================== */
.hero-section {
  width: 100%;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  padding-top: calc(var(--header-height));
  padding-bottom: 2.8rem;
  margin-bottom: -2.5rem;
}
.hero-title,
.hero-section h1 {
  color: var(--text-light) !important;
  font-size: 2.7rem;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 14px rgba(0, 0, 0, 0.5);
}
.hero-cta-btn {
  margin-top: 2rem;
  font-size: 1.14rem;
  font-family: "Oswald", Arial, sans-serif;
  text-decoration: none !important;
}

/* ============ BUTTONS ========== */
.main-btn,
.btn,
button,
input[type="submit"] {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  background: var(--btn-gradient);
  color: var(--white);
  border: none;
  outline: none;
  box-shadow: var(--btn-shadow);
  border-radius: var(--btn-radius);
  padding: 0.88em 2.5em;
  margin: 0.4em 0.1em;
  cursor: pointer;
  transition: var(--transition-main),
    box-shadow 0.17s cubic-bezier(0.55, 0.12, 0.55, 0.78);
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.main-btn:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--btn-hover-gradient);
  color: var(--white);
  transform: scale(1.06) rotate(-0.7deg);
  box-shadow: 0 6px 30px 0 rgba(34, 64, 140, 0.22);
}
button:active,
.btn:active {
  filter: brightness(0.98);
}
.bounce {
  animation: bounceY 0.76s cubic-bezier(0.35, 1.65, 0.44, 1.1) both;
}

@keyframes bounceY {
  0% {
    transform: translateY(-13px) scale(0.93);
  }
  80% {
    transform: translateY(2px) scale(1.06);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* GLOBALLY stylized input fields */
input,
textarea,
select {
  font-family: "Nunito", Arial, sans-serif;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--input-radius);
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
  padding: 0.6em 1.4em;
  margin: 0.2em 0;
  transition: border 0.22s, box-shadow 0.18s;
  width: 100%;
  box-shadow: 0 2px 12px rgba(170, 210, 251, 0.05);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-1);
  box-shadow: 0 2px 20px rgba(100, 170, 251, 0.13);
}
textarea {
  resize: vertical;
  min-height: 84px;
}

/* ========== CARD STYLE ========== */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(253, 254, 255, 0.93);
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow-strong);
  margin-bottom: 1.3rem;
  transition: box-shadow 0.22s cubic-bezier(0.58, 1.69, 0.21, 1.12),
    transform 0.22s cubic-bezier(0.62, 1.53, 0.28, 1.12);
  border: 1.3px solid #edf3fd;
  padding: 1.2rem 1.4rem 1.45rem 1.4rem;
  text-align: center;
  position: relative;
}
.card:hover {
  box-shadow: 0 12px 46px 0 rgba(70, 101, 244, 0.15),
    0 0.5px 33px rgba(90, 140, 220, 0.09);
  transform: translateY(-6px) scale(1.015);
}
.card .card-image,
.card .image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 155px;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  border-radius: 1.33rem;
  background: #f5f8fe;
  box-shadow: 0 3px 18px rgba(160, 210, 252, 0.14);
  position: relative;
}
.card .card-image img,
.card .image-container img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
  border-radius: 1.13rem;
  margin: 0 auto;
  box-shadow: 0 1px 6px rgba(131, 171, 241, 0.07);
}
.card-content {
  width: 100%;
  text-align: center;
}

/* === EXTERNAL LINK Styles === */
a,
a:link,
a:visited {
  color: var(--link-blue);
  text-decoration: underline;
  transition: color 0.22s;
  word-break: break-word;
}
a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline wavy;
}
.readmore-link,
a.readmore-link {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.1em 0.33em;
  background: linear-gradient(90deg, #fff 70%, rgba(228, 108, 161, 0.18) 100%);
  border-radius: 8px;
  display: inline-block;
  margin-left: 0.16em;
  font-family: "Nunito", Arial, sans-serif;
  box-shadow: 0 2px 7px rgba(228, 108, 161, 0.075);
  transition: color 0.21s, background 0.2s, box-shadow 0.25s;
}
.readmore-link:hover {
  color: var(--white);
  background: var(--danger-bg);
  box-shadow: 0 5px 22px rgba(228, 108, 161, 0.18);
}

/* ===== SECTION styles ====== */
section,
.section {
  margin-bottom: 0.7rem;
  padding: var(--section-padding);
}
section:last-of-type {
  margin-bottom: 0;
}

/* ==== PROCESS BAR ==== */
.progressbar-wrapper {
  width: 100%;
}
.progressbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 1.7rem 0;
  background: var(--slider-bg);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(70, 120, 240, 0.11);
}
.progressbar li {
  flex: 1;
  position: relative;
  padding: 1.13rem 0.87rem;
  text-align: center;
  color: var(--text-main);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.03rem;
  transition: background 0.24s, color 0.21s;
  background: transparent;
}
.progressbar li.active {
  color: var(--white);
  background: linear-gradient(90deg, #3e4fe5 40%, #97dffb 100%);
  box-shadow: 0 3px 15px 0 rgba(62, 79, 229, 0.14);
  border-radius: 1.5rem;
}

/* ACCORDION FAQ */
.accordion {
  max-width: 820px;
  margin: 2rem auto 0 auto;
}
.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.45rem;
  box-shadow: 0 2px 12px rgba(120, 160, 200, 0.06);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.24s;
}
.accordion-toggle {
  width: 100%;
  padding: 1.27rem 1.8rem 1.27rem 1.28rem;
  background: linear-gradient(99deg, #f6fcff 80%, #eaf5ff 100%);
  border: none;
  border-radius: 1.33rem;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.09rem;
  color: var(--primary-1);
  cursor: pointer;
  transition: background 0.23s cubic-bezier(0.7, 1.8, 0.24, 1.14), color 0.19s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
}
.accordion-toggle[aria-expanded="true"] {
  background: linear-gradient(99deg, #e0e8fb 50%, #97dffb 100%);
  color: var(--primary-2);
}
.accordion-panel {
  padding: 1.08rem 1.22rem;
  background: #fafdff;
  border-top: 1px solid #eaf5fe;
  border-radius: 0 0 1.15rem 1.15rem;
  font-size: 1rem;
  color: var(--text-dark);
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}

/* CUSTOM SLIDER (for testimonials) */
.custom-slider {
  width: 100%;
  flex-direction: row;
  justify-content: center;
  gap: 2.8rem;
  margin: 2.4rem 0 0 0;
}

.slider-controls {
  margin-top: 1.8rem;
  gap: 1.15rem;
}
.slider-prev,
.slider-next {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-1);
  box-shadow: 0 1px 8px rgba(34, 64, 140, 0.13);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.slider-prev:active,
.slider-next:active {
  background: var(--accent-2);
}
.slider-progress {
  margin: 0 0.5rem;
  position: relative;
  overflow: hidden;
}
.slider-progress-bar {
  display: block;
  transition: width 0.48s cubic-bezier(0.57, 1.15, 0.44, 1.09);
}

/* ========== CONTACT FORM ========= */
.contact-form {
  background: rgba(251, 251, 255, 0.98);
  box-shadow: 0 2px 18px 0 rgba(62, 79, 229, 0.08);
  border: 1px solid #eaf1fa;
  border-radius: var(--card-radius);
  padding: 2.2rem 2.3rem 2rem 2.3rem;
  margin: 1.2rem auto;
}
.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-group label {
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.24rem;
  display: block;
}
.form-group input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  margin-right: 7px;
}

.site-header-inner {
  align-items: center;
  flex-direction: row !important;
}

/* ========== FOOTER ========== */
.site-footer {
  width: 100%;
  margin: 0;
  padding: 1.3rem 0 1.3rem 0;
  font-size: 1.01rem;
  background: var(--background-gradient);
  border-top: 1.5px solid rgba(210, 226, 255, 0.13);
  box-shadow: 0 -1px 24px 4px rgba(66, 137, 255, 0.06);
}
.footer-inner {
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: space-between;
  align-items: center;
}
.footer-links,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.3rem;
}
.footer-links li a {
  text-decoration: none !important;
  color: var(--text-main);
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 600;
  text-decoration: underline;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-bottom 0.2s;
}
.footer-links li a:hover {
  color: var(--primary-1);
  border-bottom: 2px solid var(--accent-2);
}
.footer-social {
  margin-top: 0.7rem;
  color: #22408c;
  font-family: "Nunito", Arial, sans-serif;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* Social txt "icons" */
.footer-social a {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0.13em 0.35em;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(200, 220, 255, 0.14) 80%,
    rgba(125, 161, 238, 0.15) 100%
  );
  text-decoration: underline;
  transition: background 0.21s, color 0.16s;
}
.footer-social a:hover {
  background: var(--btn-gradient);
  color: #fff;
}

/* ======= PRESS & AWARDS ======= */
.pressawards .card {
  min-height: 162px;
  align-items: center;
  justify-content: center;
}
.pressawards .card-content b {
  color: var(--primary-1);
}
.pressawards .card .image-container,
.pressawards .card .card-image {
  height: 62px;
}
.pressawards .card .card-image img {
  min-height: 36px;
  max-width: 100%;
}

/* ============= Success page ============= */
body.success-page {
  min-height: 100vh;
  height: 100vh;
  background: var(--success-bg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 44px 0 rgba(84, 203, 158, 0.22),
    0 2px 12px 0 rgba(45, 158, 89, 0.11);
  padding: 3rem 2.5rem;
}
.success-content h1 {
  color: var(--primary-1);
  margin-bottom: 1.5rem;
}
.success-content p {
  color: var(--text-main);
  font-size: 1.22rem;
  margin-bottom: 2rem;
}

@media (max-width: 340px) {
  .success-content {
    padding: 1.6rem 0.3rem;
  }
}

/* ============= PRIVACY / TERMS PAGE ============= */
.page-privacy,
.page-terms {
  padding-top: 100px;
  min-height: 100vh;
  box-sizing: border-box;
}

/* ============= IMAGE STYLES ============= */
/* Cover bg, text contrast */
.bg-cover {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center;
}
.overlay-gradient {
  background: linear-gradient(
    0deg,
    rgba(29, 30, 44, 0.53) 0%,
    rgba(44, 32, 126, 0.22) 100%
  ) !important;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 1.23rem;
  box-shadow: 0 1px 6px rgba(120, 180, 220, 0.08);
  display: block;
  margin: 0 auto;
}
.card-image img,
.image-container img {
  object-fit: cover;
  display: block;
  height: 100%;
  width: 100%;
  min-height: 90px;
  margin: 0 auto;
  border-radius: 1.13rem;
}

/* Prevent images from shifting or being uncentered */
.card,
.item,
.testimonial,
.team-member,
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card-image,
.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 155px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f6fafe;
}

/* Responsive Section paddings / breakpoints */
@media (max-width: 470px) {
  section,
  .section {
    padding: 1.1rem 0;
  }
  .card {
    padding: 0.7rem 0.7rem 1.1rem 0.7rem;
  }
}

/* ============== ANIMATIONS / INTERACTIONS ================ */
/* Section appearance animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 0.7s cubic-bezier(0.4, 2, 0.5, 1) forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax effect */
[data-parallax] {
  transition: background-position-y 0.33s cubic-bezier(0.5, 0.6, 0.3, 1.25);
  background-attachment: fixed;
}

@media (max-width: 900px) {
  [data-parallax] {
    background-attachment: scroll;
  }
}

/* Microinteractions for forms, buttons, etc. */
input:active,
textarea:active,
select:active {
  outline: 2px solid var(--primary-2);
  outline-offset: 1px;
}
button:focus,
input[type="submit"]:focus {
  box-shadow: 0 0 0 2px #ffbfa2, 0 12px 44px rgba(170, 210, 252, 0.17);
}

/* ========== MISCELLANEOUS ========== */
.form-success {
  color: #22a676;
  background: #eafcf0;
  border-radius: 1.1rem;
  padding: 0.7em 1.1em;
  margin: 1.2em 0;
  font-size: 1.1rem;
  text-align: center;
  font-family: "Nunito", Arial, sans-serif;
}

::-webkit-input-placeholder,
::placeholder {
  color: #999;
  opacity: 1;
  font-style: italic;
}
