/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --z9: #33759d;
  --white: #ffffff;
  --black: #1a1b1f;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  color: var(--slate-600);
  background-color: var(--white);
  font-family: Rubik, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { margin-top: 0; margin-bottom: 20px; }

h2 {
  color: var(--slate-900);
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Rubik, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 50px;
}

h3 {
  color: var(--slate-900);
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Rubik, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 46px;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 400;
  line-height: 38px;
}

h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
}

/* ===== Navigation ===== */
.navigation-section {
  z-index: 999;
  background-color: var(--slate-100);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
}

.container-4 {
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.navigation {
  z-index: 100;
  background-color: var(--slate-100);
  align-items: center;
  padding: 20px 0 20px 20px;
  font-family: Rubik, sans-serif;
  display: flex;
}

.navigation-wrap {
  z-index: 9999;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.logo-link {
  z-index: 1;
  flex: 0 auto;
  display: flex;
}

.logo-link:hover { opacity: 0.8; }

.logo-image {
  display: inline;
  width: 108px;
}

.menu-button {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.menu-icon { width: 22px; }

.menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navigation-items {
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.navigation-item {
  color: #222;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: capitalize;
  padding: 9px 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.navigation-item:hover { opacity: 0.9; }
.navigation-item.w--current {
  opacity: 1;
  color: var(--black);
  font-weight: 600;
}

/* Dropdown */
.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-toggle {
  padding: 0 10px 0 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}

.dropdown-toggle .icon {
  color: #6f7486;
  margin-left: 2px;
  font-weight: 400;
  order: 2;
}

.dropdown-toggle .icon::after {
  content: '\2304';
  font-size: 14px;
}

.dropdown-toggle .icon:hover { color: var(--black); }

.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--slate-100);
  min-width: 180px;
  z-index: 999;
  padding: 4px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-list { display: block; }

.dropdown-link-3 {
  display: block;
  opacity: 0.6;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-link-3:hover {
  opacity: 1;
  color: #32343a;
}

/* Z9 nav buttons */
.button.z9-button {
  z-index: 5;
  text-transform: none;
  background-color: transparent;
  border: 2px solid var(--slate-500);
  border-radius: 0.5rem;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
  padding: 8px 12px;
  display: inline-flex;
  letter-spacing: 2px;
  font-size: 12px;
  line-height: 20px;
  color: var(--white);
  transition: background-color 0.4s, opacity 0.4s;
}

.button.z9-button:hover {
  background-color: #32343a;
}

.text-block-2 {
  color: var(--slate-500);
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* ===== Hero / Intro ===== */
.section.cc-store-home-wrap {
  width: auto;
  margin: 0;
  display: block;
}

.intro-header {
  color: var(--white);
  background-color: #f4f4f4;
  background-image: url('../images/background.png');
  background-position: 50%;
  background-size: cover;
  justify-content: center;
  align-items: center;
  height: 620px;
  margin-bottom: 40px;
  font-family: Rubik, sans-serif;
  display: flex;
}

.intro-content {
  text-align: center;
  width: 70%;
  max-width: 1140px;
}

.intro-content.cc-homepage {
  background-color: var(--white);
  border-radius: 0.75rem;
  width: 60%;
  max-width: 48rem;
  padding: 40px 0;
}

.intro-text {
  width: 80%;
  margin: 0 auto 35px;
}

.heading-jumbo {
  color: var(--slate-900);
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Rubik, sans-serif;
  font-size: 47px;
  font-weight: 500;
  line-height: 50px;
}

.paragraph-bigger {
  opacity: 1;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
}

.paragraph-bigger.cc-bigger-white-light {
  opacity: 0.6;
  color: #000;
  font-family: Rubik, sans-serif;
}

/* Hero buttons */
.button.cc-jumbo-button {
  padding: 16px 35px;
  font-size: 14px;
  line-height: 26px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background-color 0.4s, opacity 0.4s, color 0.4s;
}

.button.cc-jumbo-button.cc-jumbo-white {
  color: var(--white);
  background-color: var(--z9);
  border: 1px solid var(--z9);
  border-radius: 0.5rem;
  width: 165px;
  margin-bottom: 10px;
  margin-left: 20px;
  margin-right: 20px;
  padding: 12px;
  font-weight: 400;
}

.text-block-3,
.text-block-4 {
  font-size: 16px;
  font-weight: 500;
}

.button.cc-jumbo-button.cc-jumbo-white:hover {
  background-color: #00467f;
}

.button.cc-jumbo-button.cc-jumbo-white.secondary {
  color: var(--z9);
  background-color: transparent;
  border: 2px solid var(--z9);
  width: 165px;
  padding-left: 12px;
  padding-right: 12px;
}

.button.cc-jumbo-button.cc-jumbo-white.secondary:hover {
  color: #00467f;
  border-color: #00467f;
}

/* ===== Main Content Section ===== */
.container-7 {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 10px 20px;
}

.text-lg { font-size: 20px; }

.paragraph a,
.text-lg a {
  color: var(--z9);
}

.z9-flex-link {
  color: var(--z9);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 16px;
  display: inline-block;
}

.z9-open-link {
  color: var(--z9);
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  display: inline-block;
}

/* ===== Services Grid ===== */
.grid {
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-top: 40px;
  display: grid;
}

.cmp-service-img {
  text-align: center;
  display: block;
  padding: 10px;
}

.services-img {
  max-width: 170px;
  max-height: 64px;
  display: inline-block;
}

.heading-service {
  color: var(--slate-600);
  text-align: center;
  font-family: Rubik, sans-serif;
  font-size: 18px;
  font-weight: 400;
}

/* ===== Quick Stack (2-col layout) ===== */
.quick-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0;
}

.div-block { margin-top: auto; }

.div-block-8 {
  border-radius: 16px;
  padding: 15px 24px 24px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.heading-5 {
  color: var(--slate-900);
  font-family: Rubik, sans-serif;
  font-size: 20px;
}

.list { list-style-type: none; }

.list-item {
  background-image: url('../images/icons/checkmark.svg');
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: auto;
  padding-left: 33px;
  font-family: Rubik, sans-serif;
  margin-bottom: 10px;
}

.paragraph { display: inline; }

/* ===== Footer ===== */
.section-4 {
  background-color: var(--gray-100);
  margin-top: 40px;
  padding-top: 12px;
  padding-bottom: 24px;
}

.div-block-13 {
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.copyright-text {
  color: var(--slate-500);
  font-family: Rubik, sans-serif;
  font-size: 14px;
  align-items: flex-start;
}

.div-block-14 {
  max-height: 32px;
  width: 32px;
  height: 32px;
}

.social-link {
  display: inline-block;
  width: 32px;
  height: 32px;
  max-width: 100%;
  padding-left: 8px;
  color: var(--black);
}

.social-image {
  display: block;
  width: 24px;
  height: 32px;
}

/* ===== About Page ===== */
.heading-7 {
  color: var(--slate-900);
  font-family: Rubik, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.details-wrap { margin-bottom: 16px; }

.label {
  font-weight: 700;
  font-size: 14px;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.contact-email-link {
  color: var(--z9);
  text-decoration: none;
  display: inline;
}

.contact-email-link:hover { text-decoration: underline; }

.paragraph-light {
  color: var(--slate-600);
  font-size: 16px;
  line-height: 24px;
}

/* ===== Partners Page ===== */
.container-3 {
  max-width: 940px;
  margin: 0 auto;
  padding: 24px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.2) 1px 6px 12px 0px;
}

.clients-title {
  text-align: center;
  margin-bottom: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.grid-3 .cmp-service-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.grid-3 .services-img {
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
}

.text-block-7 {
  text-align: center;
  padding: 20px;
}

.italic-text {
  font-size: 14px;
  color: var(--slate-500);
}

/* ===== What's New Page ===== */
.section-8 {
  padding: 20px 0;
}

.container-13 {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-wrapper {
  margin-bottom: 16px;
}

.cms-filter-by-drop-down {
  display: inline-block;
  position: relative;
}

.cms-filter-by-drop-down .dropdown-toggle-2 {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 8px;
  background: none;
  border: none;
  font-family: Rubik, sans-serif;
}

.cms-filter-by-drop-down .dropdown-list-2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fafafa;
  min-width: 160px;
  z-index: 999;
  padding: 4px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cms-filter-by-drop-down:hover .dropdown-list-2 { display: block; }

.dropdown-link {
  display: block;
  padding: 8px 16px;
  opacity: 0.84;
  font-family: Rubik, sans-serif;
  font-weight: 400;
}

.dropdown-link:hover {
  color: #3898ec;
}

/* Search form */
.w-form {
  margin-bottom: 24px;
}

.w-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.w-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Rubik, sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
}

.w-button {
  background-color: var(--z9);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.w-button:hover { background-color: #00467f; }

/* News grid */
.collection-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-item-2 {
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cms-card-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 8px;
}

.text-block-20 {
  color: var(--z9);
  font-size: 14px;
  text-align: left;
}

.cms-card-link .image-5 {
  object-fit: scale-down;
  min-height: 180px;
  max-height: 180px;
  width: 100%;
}

.news-card-heading {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-900);
  padding: 8px 0;
}

.button-type {
  display: inline-block;
  background-color: var(--z9);
  color: var(--white);
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
}

.button-type:hover { background-color: #00467f; }

/* Pagination */
.w-pagination-wrapper {
  text-align: center;
  margin-top: 24px;
}

.w-pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--slate-600);
  font-size: 14px;
}

.w-pagination-next:hover { color: var(--slate-900); }

.w-pagination-next-icon { width: 12px; height: 12px; }

/* ===== Contact Page ===== */
.contact-section {
  padding: 20px 0 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

.contact-form-wrap .form-group {
  margin-bottom: 16px;
}

.contact-form-wrap label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--slate-900);
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Rubik, sans-serif;
  font-size: 16px;
}

.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--z9);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .navigation-items { display: none; }
  .menu-button { display: block; }
  .navigation-items.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--slate-100);
    padding: 16px;
    z-index: 999;
  }
  .intro-content.cc-homepage { width: 80%; }
  .heading-jumbo { font-size: 36px; line-height: 42px; }
  .quick-stack { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .collection-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .intro-header { height: auto; padding: 40px 20px; }
  .intro-content.cc-homepage { width: 90%; padding: 30px 20px; }
  .heading-jumbo { font-size: 28px; line-height: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .collection-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
