/* ======================================
   RegValue — Brand Styling
   Colours: Deep Blue (#0A2463), Gold (#E6B325), White, Dark Grey
====================================== */

:root {
  --primary: #0A2463;
  --accent: #E6B325;
  --dark: #1E1E24;
  --light: #F8F9FA;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: var(--primary);
  color: white;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.logo span { color: white; }

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.8rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--accent); }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1E3A8A 100%);
  color: white;
  padding: 4.5rem 5%;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--accent);
  color: var(--primary);
}

.btn-gold:hover {
  background: #D4A21F;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230,179,37,0.35);
}

.btn-white {
  background: white;
  color: var(--primary);
  margin-left: 1rem;
}

.btn-white:hover { background: #f0f0f0; }

/* Sections */
.section {
  padding: 3.5rem 5%;
}

.section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover { transform: translateY(-6px); }

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Forms */
.form-box {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-box input, .form-box textarea, .form-box select {
  width: 100%;
  padding: 0.9rem;
  margin: 0.6rem 0 1.2rem;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  font-size: 1rem;
}

.form-box input:focus, .form-box textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem 5%;
  margin-top: 2rem;
}

footer p { opacity: 0.7; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
  header { flex-direction: column; gap: 1rem; }
  .hero h1 { font-size: 2rem; }
  .btn { display: block; margin: 0.8rem 0; }
  .btn-white { margin-left: 0; }
  nav a { margin: 0 0.7rem; }
}