@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@400;500;600;700&display=swap');

:root {
  --md-sys-color-primary: #0f4742;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d1ebe7;
  --md-sys-color-on-primary-container: #05201d;
  --md-sys-color-secondary: #f0b400;
  --md-sys-color-on-secondary: #0f0f0f;
  --md-sys-color-surface: #f6f8f7;
  --md-sys-color-on-surface: #0f1d1b;
  --md-sys-color-outline: rgba(15, 29, 27, 0.12);

  --md-sys-shape-corner-full: 999px;
  --md-sys-shape-corner-small: 12px;

  --md-sys-elevation-level1: 0 2px 6px rgba(0, 0, 0, 0.12);
}

body {
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

p {
  font-size: 14px;
  line-height: normal;
  color: #666666;
}

.services_content ul,
.services_content li,
.content ul,
.content li {
  color: #666666;
}

a {
  color: var(--md-sys-color-primary);
}

.btn-green,
.btn-yellow,
.border_radius.btn-green,
.border_radius.btn-yellow {
  border-radius: var(--md-sys-shape-corner-full) !important;
  box-shadow: var(--md-sys-elevation-level1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.btn-green {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary) !important;
  border: none;
}

.btn-yellow {
  background: var(--md-sys-color-secondary);
  color: var(--md-sys-color-on-secondary) !important;
  border: none;
}

.tabs.heading_space li {
  border-radius: var(--md-sys-shape-corner-small);
  border: 1px solid var(--md-sys-color-outline);
  margin-bottom: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tabs.heading_space li.active,
.tabs.heading_space li:hover {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}

.tabs.heading_space li a {
  color: inherit;
}

md-filled-button,
md-outlined-button {
  --md-filled-button-container-color: var(--md-sys-color-primary);
  --md-filled-button-label-text-color: var(--md-sys-color-on-primary);
  --md-outlined-button-outline-color: var(--md-sys-color-outline);
  --md-outlined-button-label-text-color: var(--md-sys-color-on-surface);
}

/* Tabs (fallback style when Material components no-network) */
.md-tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
}

.md-tab {
  width: 100%;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-small);
  background: #fff;
  color: var(--md-sys-color-on-surface);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.md-tab:hover {
  border-color: var(--md-sys-color-primary);
}

.md-tab.active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
  box-shadow: var(--md-sys-elevation-level1);
}

.md-tab .arrow {
  font-size: 16px;
}

@media (max-width: 767px) {
  #md-product-tabs {
    display: none;
  }
}

/* Accordion */
.accordion-container .accordion_title {
  border-radius: 13px;
  overflow: hidden;
}

.accordion-container .accordion_title > a {
  border-radius: 13px;
  background: #f7f9f8;
  border-color: #d9d9d9;
}

.accordion-container .accordion_title > a.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-container .accordion_title > a.active + .content {
  display: block !important;
  border: 1px solid #d9d9d9;
  border-top: 0;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
  padding: 16px 18px;
}

/* Contact highlight bar */
.bg_contact {
  border-radius: 24px;
  padding: 18px 24px;
}

.bg_contact .row {
  display: flex;
  align-items: center;
}

.bg_contact .contact_inner {
  margin: 10px 0;
}

.bg_contact .contact_inner i {
  float: left;
  font-size: 26px;
  margin-right: 10px;
}

.bg_contact .contact_inner strong {
  display: block;
}

/* Service images rounded */
.services_content img.img-responsive {
  border-radius: 24px;
}

/* Footer menu links readable on dark bg */
.footer_top .links li a {
  color: #f5f5f5;
}

.footer_top .links li a:hover,
.footer_top .links li a:focus {
  color: #ffcc5c;
}

/* Contact form (Material fields) */
md-filled-button#btn_submit {
  margin-top: 6px;
}

.contact_form_field {
  width: 100%;
  border: 1px solid #c6c6c6;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #333333;
  background: #ffffff;
  box-sizing: border-box;
}

.contact_form_field:focus {
  outline: 2px solid var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
}

.contact_detail p,
.contact_detail p strong {
  color: #666666 !important;
}

.contact_form_button {
  background: var(--md-sys-color-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--md-sys-elevation-level1);
  cursor: pointer;
}

.contact_form_button:hover {
  filter: brightness(0.95);
}

.contact_form_button:active {
  transform: translateY(1px);
}
