/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
}

:root {
  --bg: #0f1113; /* warm charcoal */
  --bg-2: #0a0a0a; /* subtle depth */
  --surface: #14171a; /* section/card surface color */
  --surface-soft: rgba(255, 255, 255, 0.04); /* card overlay */
  --border-soft: rgba(255, 255, 255, 0.08); /* soft border */
  --text: #f2eee9; /* off-white headings */
  --muted: #c9c4bc; /* muted body text */
  --muted-2: rgba(201, 196, 188, 0.72); /* secondary muted */
  --accent: #991b1b; /* accent red */
}

body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  font-family: 'Interphase Custom';
  color: var(--text);
}

/* Custom Font */
@font-face {
  font-family: 'Ramillas Custom';
  src: url('fonts/tt_ramillas/TT\ Ramillas\ Trial\ ExtraBold.ttf')
    format('truetype');
}

@font-face {
  font-family: 'Interphase Custom';
  src: url(fonts/tt_interphases_pro/TT\ Interphases\ Pro\ Trial\ Regular.ttf)
    format('truetype');
}

/* Styles */
/* Section 1 */
.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: 80px;
  background-color: rgba(15, 17, 19, 0.75);
  backdrop-filter: blur(14px);
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-container {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Logo */
.vin-part,
.tellect-part {
  color: var(--accent);
  font-size: 2.5em;
}

.vin-part {
  font-family: 'Times New Roman', Times, serif;
}

.header-right {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* Nav CTA Button */
.cta-button {
  background: var(--accent);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  font-family: Arial, sans-serif;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Hamburger Icon */
.menu-icon {
  width: 25px;
  height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 12px;
}

.menu-icon span {
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Hero */
.hero-section {
  min-height: 38rem;
  width: 100%;
  background-image: url('images/hero-test.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 80px;
}

/* Hero Gradient */
.hero-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.78) 55%,
    rgba(10, 10, 10, 0.18) 100%
  );
}

/* Hero Title */
.hero-header-1,
.hero-header-2 {
  font-family: 'Ramillas Custom';
  font-size: 3.5rem;
  color: var(--text);
  position: absolute;
  text-transform: capitalize;
  padding: 0 22px;
  width: 100%;
  letter-spacing: -0.02em;
}

.hero-header-1 {
  top: 25%;
}

.hero-header-2 {
  top: 35%;
}

/* Hero Description */
.hero-desc {
  font-family: 'Interphase Custom';
  font-size: 1.1rem;
  color: var(--muted);
  position: absolute;
  top: 51%;
  line-height: 140%;
  padding: 0 22px;
  width: 77%;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

/* Hero CTA Button */
.cta-button-hero {
  background: var(--accent);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  font-family: Arial, sans-serif;
  position: absolute;
  top: 78%;
  margin-left: 22px;
  text-transform: capitalize;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

/* Section 2 */
/* Credibility Icons */
.credibility {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  padding: 40px 0;
  width: 100%;
}

.cred-logo {
  max-width: 20%;
  max-height: 45px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* Section 3 */
/* Stats Title */
.third-title {
  border-bottom: 0;
  color: var(--text);
  text-transform: capitalize;
  font-family: 'Ramillas Custom';
  font-size: 1.9rem;
  padding: 0px 25px 10px 0px;
  line-height: 1.2;
  margin: 50px 22px 25px;
  position: relative;
}

/* Stats Underline*/
.third-title::after {
  content: '';
  display: block;
  width: 92%;
  height: 2px;
  background: rgba(153, 27, 27, 0.75);
  margin-top: 10px;
  border-radius: 999px;
}

/* Stats Container */
.stats-container {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 22px 20px;
}

/* Stats Cards */
.stat-item {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 18px;
}

/* Stats Percent Number */
.stat-num {
  width: 100%;
  color: var(--text);
  text-align: center;
  font-size: 60px;
  margin-bottom: 14px;
  font-family: 'Ramillas Custom';
}

/* Stats Description */
.stat-desc {
  height: auto;
  max-height: none;
  text-align: center;
  line-height: 1.75;
  padding: 0 10px;
  color: var(--muted);
}
