/*
Theme Name: KAZ Blank
Author: KAZ
Description: A blank theme with KAZ design tokens.
Version: 1.0
*/

/* ==========================================================================
   Modern CSS Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}


:root {
  /* 1. Color Palette */
  --color-primary: #0075FF;
  --color-secondary: #051229;
  --color-bg: #F7F7F7;
  --color-text: #364052;

  /* 2. Typography - Font Families */
  --font-heading: 'Libre Franklin', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Typography - Fluid Sizes (min-viewport: 320px, max-viewport: 1920px) */
  --h1-font-size: clamp(40px, calc(40px + 32 * ((100vw - 320px) / 1600)), 72px);
  --h1-line-height: 1.1;
  --h1-font-weight: 600;

  --h2-font-size: clamp(32px, calc(32px + 16 * ((100vw - 320px) / 1600)), 48px);
  --h2-line-height: 1.2;
  --h2-font-weight: 600;

  --h3-font-size: clamp(24px, calc(24px + 8 * ((100vw - 320px) / 1600)), 32px);
  --h3-line-height: 1.2;
  --h3-font-weight: 600;

  --h4-font-size: clamp(20px, calc(20px + 4 * ((100vw - 320px) / 1600)), 24px);
  --h4-line-height: 1.2;
  --h4-font-weight: 600;

  --h5-font-size: clamp(18px, calc(18px + 2 * ((100vw - 320px) / 1600)), 20px);
  --h5-line-height: 1.2;
  --h5-font-weight: 600;

  --h6-font-size: 16px;
  --h6-line-height: 1.2;
  --h6-font-weight: 600;

  --body-font-size: 16px;
  --body-line-height: 1.6;
  --body-font-weight: 400;

  /* 3. UI Components */
  --btn-border-radius: 50px;
  --btn-padding: 4.5px;
  --btn-bg: var(--color-bg);
  --btn-text: var(--color-secondary);
  --btn-icon-accent: var(--color-primary);

  /* 4. Animations and Transitions */
  --transition-standard: all 0.3s ease-in-out;
  --transition-motion: transform 0.4s ease-in-out;

  /* 5. Box Shadows */
  --shadow-card: rgba(0, 0, 0, 0.06) 0px 0px 15px 0px;
  --shadow-glow: rgba(0, 117, 255, 0.08) 0px 0px 0px 6.94px;
}

/* 6. Buttons */
.tj-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Fluid font size: 14px @ 400px to 16px @ 1200px */
  font-size: clamp(0.875rem, 0.8125rem + 0.25vw, 1rem);
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--color-secondary);
  padding: 0.34375em;
  /* 5.5px / 16px */
  border-radius: 50px;
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  text-decoration: none;
  border: none;
  max-width: 100%;
  /* Prevent overflowing parent */
}

.tj-primary-btn .btn_inner {
  position: relative;
  z-index: 1;
  padding: 0.75em 1.125em 0.75em 3.125em;
  /* 12px 18px 12px 50px */
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.tj-primary-btn .btn_inner::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 2.5em;
  /* 40px */
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 50px;
  transition: all 0.3s ease-in-out 0s;
}

.tj-primary-btn .btn_inner .btn_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 2em;
  /* 40px */
  height: 100%;
  z-index: 2;
  font-size: 1.25em;
  /* 20px */
  color: #ffffff;
}

.tj-primary-btn .btn_inner .btn_icon>span {
  overflow: hidden;
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 1em;
  /* 20px */
  height: 1em;
  /* 20px */
  align-items: center;
}

.tj-primary-btn .btn_inner .btn_icon>span i {
  display: inline-block;
  width: 1em;
  /* 20px */
  height: 1em;
  /* 20px */
  background-color: currentColor;
  -webkit-mask-image: url('assets/img/btn-arrow.svg');
  mask-image: url('assets/img/btn-arrow.svg');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: transform 0.4s ease-in-out 0s;
}

.tj-primary-btn .btn_inner .btn_icon>span i:last-child {
  position: absolute;
  transform: translateX(-150%);
}

.tj-primary-btn .btn_inner .btn_text {
  display: inline-flex;
  overflow: hidden;
  color: #ffffff;
  text-shadow: 0 1.4375em 0 currentColor;
  /* 23px */
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tj-primary-btn .btn_inner .btn_text>span {
  display: flex;
  align-items: center;
  backface-visibility: hidden;
  transform: translateY(0);
  transition: 0.5s;
}

/* Light variant (for dark backgrounds) */
.tj-primary-btn.header_btn {
  background-color: var(--color-bg);
  padding: 0.28125em;
  /* 4.5px */
}

.tj-primary-btn.header_btn .btn_inner .btn_text {
  color: var(--color-secondary);
}

/* Hover Effects */
.tj-primary-btn:hover .btn_inner::before {
  width: 100%;
}

.tj-primary-btn:hover .btn_inner .btn_icon i:first-child {
  transform: translateX(150%);
}

.tj-primary-btn:hover .btn_inner .btn_icon i:last-child {
  transform: translateX(0);
}

.tj-primary-btn:hover .btn_inner .btn_text {
  color: #ffffff;
}

.tj-primary-btn:hover .btn_inner .btn_text>span {
  transform: translateY(-1.4375em);
  /* 23px */
}