
/* =========================================
   VELAROCK RESEARCH
   Main Website Stylesheet
========================================= */

:root {
  --background: #ffffff;
  --surface: #f5f7fa;
  --surface-dark: #14243a;
  --text: #172438;
  --muted: #647184;
  --accent: #315d83;
  --border: #e3e8ef;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================
   HEADER AND NAVIGATION
========================================= */

.site-header,
.navbar {
  min-height: 76px;
  width: 100%;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand,
.logo {
  flex-shrink: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2.5px;
  white-space: nowrap;
}

.brand span,
.logo span {
  color: var(--accent);
}

.main-nav,
#nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.main-nav a,
#nav-links a {
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #344155;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
#nav-links a:hover {
  background: var(--surface);
  color: var(--accent);
}

.menu-toggle,
#menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 25px;
}

/* =========================================
   COMMON SECTION STYLES
========================================= */

.section {
  width: 100%;
  padding: 90px 6%;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 45px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 700;
}

.section-heading > p:not(.eyebrow) {
  max-width: 740px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
  min-height: 450px;
  padding: 70px 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      #e7edf4 0%,
      #f5f7fa 55%,
      #ffffff 100%
    );
}

.hero-content {
  width: 100%;
  max-width: 920px;
}

.hero .eyebrow {
  margin-bottom: 25px;
}

.hero h1 {
  margin: 0 auto 25px;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 500;
  color: #14243a;
}

.hero-description {
  max-width: 680px;
  margin: 0 auto;
  color: #59677a;
  font-size: 17px;
  line-height: 1.9;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */

.btn {
  min-height: 47px;
  padding: 12px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--surface-dark);
  color: white;
  border-color: var(--surface-dark);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-2px);
}

/* =========================================
   INTRODUCTION
========================================= */

.introduction {
  background: white;
}

.introduction .section-heading {
  max-width: var(--max-width);
  margin-bottom: 0;
}

.introduction .section-heading h2 {
  max-width: 780px;
}

/* =========================================
   BUSINESS DIVISIONS
========================================= */

.divisions {
  background: var(--surface);
}

.divisions .section-heading {
  text-align: center;
}

.divisions .section-heading > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.division-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.division-card {
  position: relative;
  min-width: 0;
  padding: 34px 29px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(20, 36, 58, 0.08);
}

.division-number {
  margin-bottom: 25px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.division-card h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.division-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.division-card ul {
  margin: 0 0 28px;
  padding-left: 19px;
  color: #465469;
  font-size: 13px;
  line-height: 2;
}

.division-card li {
  padding-left: 3px;
}

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-bottom: 4px;
  color: var(--accent);
  border-bottom: 1px solid #9aafc2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.text-link:hover {
  color: #14243a;
  border-color: #14243a;
}

/* =========================================
   TECHNOLOGY FOUNDATION
========================================= */

.technology-foundation {
  background: white;
}

.technology-foundation .section-heading {
  text-align: center;
}

.technology-foundation .section-heading > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.technology-grid {
  max-width: 1050px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.technology-item {
  min-height: 105px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #30445c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================
   CORE PRINCIPLES
========================================= */

.principles {
  background: var(--surface);
}

.principles .section-heading {
  text-align: center;
}

.principles .section-heading > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.principles-grid {
  max-width: 1050px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 35px;
}

.principle-item {
  padding: 22px 0;
  border-top: 2px solid #b8c9d9;
}

.principle-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.principle-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   CLOSING SECTION
========================================= */

.closing-section {
  padding: 95px 7%;
  background: var(--surface-dark);
  color: white;
  text-align: center;
}

.closing-content {
  max-width: 760px;
  margin: 0 auto;
}

.closing-section .eyebrow {
  color: #a9c1d8;
}

.closing-section h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.closing-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #c5d0dd;
  font-size: 15px;
  line-height: 1.9;
}

.closing-section .btn-primary {
  background: white;
  color: var(--surface-dark);
  border-color: white;
}

.closing-section .btn-primary:hover {
  background: #e8edf3;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 40px 6%;
  background: #101d2e;
  color: white;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-brand span {
  color: #a9c1d8;
}

.site-footer p {
  margin: 7px 0;
  color: #b9c5d3;
  font-size: 12px;
}

/* =========================================
   SHARED STYLES FOR OTHER PAGES
========================================= */

.content-section {
  max-width: 1100px;
  min-height: 55vh;
  margin: 0 auto;
  padding: 75px 6%;
}

.content-section h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.content-section h2 {
  margin-top: 36px;
  font-size: 27px;
}

.content-section p {
  max-width: 850px;
  color: var(--muted);
  line-height: 1.8;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: white;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
}

.profile-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
}

.profile-placeholder {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 24px;
  font-weight: 700;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1100px) {
  .site-header,
  .navbar {
    padding-left: 3%;
    padding-right: 3%;
    gap: 12px;
  }

  .main-nav a,
  #nav-links a {
    padding: 8px 6px;
    font-size: 11px;
  }

  .division-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .site-header,
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle,
  #menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav,
  #nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
  }

  .main-nav.open,
  #nav-links.open {
    display: flex;
  }

  .main-nav a,
  #nav-links a {
    padding: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 510px;
    padding: 75px 6%;
  }

  .hero h1 {
    letter-spacing: -1.8px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section {
    padding: 65px 6%;
  }

  .hero {
    min-height: 480px;
    padding: 65px 6%;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -0.8px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .division-grid,
  .technology-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    padding: 28px;
  }

  .technology-item {
    min-height: 75px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .closing-section {
    padding: 75px 7%;
  }

  .profile-card {
    flex-direction: column;
  }
}
