/* LAYOUT */
@import url("layout/header.css");
@import url("layout/footer.css");
@import url("layout/backdrop.css");
@import url("layout/title.css");
@import url("layout/breadcrumb.css");
@import url("layout/banner.css");
@import url("layout/quick-links.css");
@import url("layout/sidebar.css");

/* COMPONENTS */
@import url("components/accordion.css");
@import url("components/form.css");
@import url("components/buttons.css");
@import url("components/tabs.css");
@import url("components/series-card.css");
@import url("components/fault-codes-box.css");
@import url("components/slider-controls.css");
@import url("components/emar-card.css");
@import url("components/tooltip.css");
@import url("components/services-card.css");
@import url("components/news-card.css");
@import url("components/generic-content.css");
@import url("components/keyframes.css");
@import url("components/document-box.css");
@import url("components/modal.css");
@import url("components/form-notification.css");

/* VIEWS */
@import url("views/homepage.css");
@import url("views/services.css");
@import url("views/news.css");
@import url("views/support.css");
@import url("views/contact.css");
@import url("views/about-us.css");
@import url("views/dealers-services.css");
@import url("views/faq.css");
@import url("views/institutional.css");
@import url("views/price-list.css");
@import url("views/for-services.css");
@import url("views/blog-detail.css");
@import url("views/error-page.css");
@import url("views/our-company.css");
@import url("views/referances.css");
@import url("views/service-demand.css");

/* ============================================== */
/* ==================== FONTS =================== */
/* ============================================== */

@font-face {
  font-family: "DM Sans";
  font-weight: 100;
  src: url("../fonts/DMSans/DMSans-Thin.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 200;
  src: url("../fonts/DMSans/DMSans-ExtraLight.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 300;
  src: url("../fonts/DMSans/DMSans-Light.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  src: url("../fonts/DMSans/DMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  src: url("../fonts/DMSans/DMSans-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 600;
  src: url("../fonts/DMSans/DMSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  src: url("../fonts/DMSans/DMSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 800;
  src: url("../fonts/DMSans/DMSans-ExtraBold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 900;
  src: url("../fonts/DMSans/DMSans_36pt-Black.ttf") format("truetype");
}

@font-face {
  font-family: "DM Serif Display";
  font-weight: 400;
  src: url("../fonts/DMSansDisplay/DMSerifDisplay-Regular.ttf") format("truetype");
}

/* ============================================== */
/* ================== VARIABLES ================= */
/* ============================================== */

:root {
  color-scheme: only light;
  --container: 1720px;
  --small-spacing: 2rem 0;
  --regular-spacing: 4rem 0;
  --large-spacing: 6rem 0;
  --emar-dark: #000000;
  --emar-light: #ffffff;
  --emar-white-1: #f6f6f6;
  --emar-white-2: #f2f2f2;
  --emar-white-3: #f8f8f8;
  --emar-white-4: #fafdfe;
  --emar-blue: #0097d8;
  --emar-blue-2: #0c356a;
  --emar-blue-3: #009ddd;
  --emar-blue-4: #65d1ff;
  --emar-blue-5: #eaf9ff;
  --emar-blue-6: #daf4ff;
  --emar-blue-7: #ddf5ff;
  --emar-blue-8: #00569d;
  --emar-blue-9: #eaf9ff;
  --emar-blue-10: #63b8e8;
  --emar-blue-11: #0084d2;
  --emar-grey: #5c6467;
  --emar-grey-2: #6c6c6c;
  --emar-grey-3: #bdbdbd;
  --emar-grey-4: #d5d4d3;
  --emar-grey-5: #d9d9d9;
  --emar-grey-6: #828b92;
  --emar-grey-7: #5e5e5e;
  --emar-grey-8: #e7e7e7;
  --emar-grey-9: #9c9c9c;
  --emar-grey-10: #c7c8ca;
  --emar-red: #f23d3d;
  --emar-red-2: #bd2a27;
  --emar-red-3: #e20613;
  --emar-green: #deffe7;
  --emar-green-2: #34a853;
  --emar-green-3: #25d366;
  --transparent: rgba(0, 0, 0, 0);
  --transition: cubic-bezier(0.42, 0, 0.58, 1);
  --letter-spacing-large: 3px;
  --font-80: 5rem;
  --font-60: 3.75rem;
  --font-58: 3.625rem;
  --font-50: 3.125rem;
  --font-48: 3rem;
  --font-46: 2.875rem;
  --font-44: 2.75rem;
  --font-40: 2.5rem;
  --font-36: 2.25rem;
  --font-34: 2.125rem;
  --font-32: 2rem;
  --font-30: 1.875rem;
  --font-28: 1.75rem;
  --font-26: 1.625rem;
  --font-24: 1.5rem;
  --font-22: 1.375rem;
  --font-20: 1.25rem;
  --font-18: 1.125rem;
  --font-16: 1rem;
  --font-14: 0.875rem;
  --font-12: 0.75rem;
  --line-30: 1.875rem;
  --line-28: 1.75rem;
  --line-26: 1.625rem;
  --line-20: 1.25rem;
  --col-2: repeat(6, 1fr);
  --col-5: repeat(5, 1fr);
  --col-3: repeat(4, 1fr);
  --col-4: repeat(3, 1fr);
  --col-6: repeat(2, 1fr);
  --col-12: repeat(1, 1fr);
  --w-25: 25%;
  --w-33: calc(100% / 3);
  --w-50: 50%;
  --w-66: calc(100% / 3 * 2);
  --w-75: 75%;
  --w-100: 100%;
}

/* ============================================== */
/* ================== RESET CSS ================= */
/* ============================================== */

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

html {
  scroll-behavior: smooth;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-variant-numeric: tabular-nums;
}

body {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

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

a {
  text-decoration: none;
  font-size: var(--font-16);
  font-weight: 400;
  line-height: normal;
}

p {
  font-size: var(--font-16);
  font-weight: 400;
  line-height: var(--line-26);
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img {
  display: block;
  max-width: var(--w-100);
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  outline: none;
}

input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

figure {
  margin: 0;
  unicode-bidi: unset;
}

/* ============================================== */
/* ================== MAIN CSS ================== */
/* ============================================== */

.app {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track-piece {
  background: var(--emar-light);
}

::-webkit-scrollbar-track {
  background: var(--emar-white-2);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--emar-blue);
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.7;
}

.eg-container {
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================== */
/* ================ ROOT QUERIES ================ */
/* ============================================== */

@media (max-width: 1600px) {
  :root {
    --container: 1420px;
    --font-60: 3.375rem;
    --font-50: 2.75rem;
    --font-48: 2.625rem;
    --font-46: 2.5rem;
    --font-40: 2.25rem;
    --font-36: 2rem;
    --font-30: 1.75rem;
    --font-24: 1.375rem;
    --font-20: 1.125rem;
    --font-18: 1rem;
    --line-30: 1.75rem;
    --line-28: 1.625rem;
    --line-26: 1.5rem;
  }
}

@media (max-width: 1400px) {
  :root {
    --container: 1220px;
    --font-60: 3rem;
    --font-50: 2.375rem;
    --font-48: 2.25rem;
    --font-46: 2.125rem;
    --font-40: 2rem;
    --font-36: 1.75rem;
    --font-30: 1.625rem;
    --font-24: 1.25rem;
    --line-30: 1.625rem;
    --line-28: 1.5rem;
    --line-26: 1.375rem;
  }
}

@media (max-width: 1200px) {
  :root {
    --font-60: 2.625rem;
    --font-50: 2.125rem;
    --font-48: 2rem;
    --font-46: 1.875rem;
    --font-40: 1.75rem;
    --font-36: 1.625rem;
    --font-30: 1.5rem;
    --font-24: 1.125rem;
    --font-20: 1rem;
    --font-16: 0.875rem;
    --font-14: 0.75rem;
    --line-30: 1.5rem;
    --line-28: 1.375rem;
    --line-26: 1.25rem;
  }
}

@media (max-width: 992px) {
  :root {
    --font-60: 2.25rem;
    --font-50: 2rem;
    --font-48: 1.875rem;
    --font-46: 1.75rem;
    --font-40: 1.625rem;
    --font-36: 1.5rem;
    --font-30: 1.375rem;
    --line-30: 1.375rem;
    --line-28: 1.25rem;
    --line-26: 1.125rem;
    --large-spacing: 4rem 0;
    --regular-spacing: 2rem 0;
  }
}

@media (max-width: 576px) {
  :root {
    --font-60: 2rem;
    --font-50: 1.875rem;
    --font-48: 1.75rem;
    --font-46: 1.625rem;
    --font-40: 1.5rem;
    --font-36: 1.375rem;
    --font-30: 1.25rem;
  }
}
