/* ==========================================================================
   Base CSS - Reset, Google Fonts & General Utilities (Square UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400;1,600&family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Prevent any element from causing horizontal overflow */
* {
  max-width: 100%;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  border-radius: 0px !important;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
}

.container-fluid {
  width: 100%;
  padding: 0 30px;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .container-fluid {
    padding: 0 15px;
  }
}

/* Heading Titles */
.heading-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.heading-wrap.text-left {
  text-align: left;
}

.heading-wrap h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-top: 5px;
}

/* Button Component Base - Square Buttons (border-radius: 0px) */
.bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0px !important;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.bt-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 0px !important;
}

.bt-primary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  transform: translateY(-2px);
}

.bt-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 0px !important;
}

.bt-outline:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: var(--cresta-red);
}

::-webkit-scrollbar-thumb:hover {
  background: #b71c1c;
}
