/* ==========================================================
   TAG Compliance – Core Stylesheet
   ========================================================== */

/* ---------- Global Reset ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2a35;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ---------- Header & Navigation ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
  border-bottom: 4px solid #0b4f8a;
}

.logo {
  height: 60px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  font-weight: bold;
  color: #0b4f8a;
}

nav a:hover {
  text-decoration: underline;
}

/* ---------- Hero Section ---------- */
.hero {
  width: 100%;
}

/* Background image */
.hero-background {
  position: relative;
  background-image: url("assets/TAGC-background-v1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Semi-transparent overlay */
.hero-overlay {
  background-color: rgba(11, 79, 138, 0.75);
  padding: 90px 30px;
  color: #ffffff;
  text-align: center;
}

.hero h1 {
  margin-top: 0;
  font-size: 2.2rem;
}

.hero p {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

/* ---------- Trust / Authority Section ---------- */
.trust {
  padding: 50px 30px;
  background-color: #f5f7f9;
  text-align: center;
}

.trust h2 {
  color: #0b4f8a;
  margin-top: 0;
}

.trust p {
  max-width: 900px;
  margin: auto;
}

/* ---------- Home Services Summary ---------- */
.home-services {
  padding: 50px 30px;
  text-align: center;
}

.home-services h2 {
  color: #0b4f8a;
}

.home-services ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 30px auto;
}

.home-services li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e4e8;
}

/* CTA Link */
.cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #f47c20;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.cta-link:hover {
  opacity: 0.9;
}

/* ---------- Services Page Cards ---------- */
.services {
  padding: 50px 30px;
}

.services h1 {
  text-align: center;
  color: #0b4f8a;
}

.card {
  background-color: #f5f7f9;
  padding: 25px;
  margin: 25px auto;
  max-width: 900px;
  border-left: 6px solid #f47c20;
}

.card h3 {
  margin-top: 0;
  color: #0b4f8a;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #0b4f8a;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* ---------- Forms ---------- */
form {
  max-width: 500px;
  margin: 30px auto;
}

input,
textarea,
button {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
}

button {
  background-color: #0b4f8a;
  color: #ffffff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

/* ---------- Footer ---------- */
footer {
  background-color: #1f2a35;
  color: #ffffff;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    margin: 10px;
    display: inline-block;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

.section-title {
  text-align: center;
  color: #0b4f8a;
  margin-top: 0;
}

.content {
  padding: 50px 30px;
}

.content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.bullets {
  max-width: 900px;
  margin: 20px auto;
  padding-left: 18px;
}

.small-note {
  font-size: 0.95rem;
  color: #415262;
}

.links {
  padding-left: 18px;
}

.callout {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 25px;
  background: #ffffff;
  border: 2px solid #e0e4e8;
  border-left: 6px solid #0b4f8a;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1f2a35;
  color: #ffffff;
  padding: 16px 20px;
  border-top: 4px solid #f47c20;
}

.cookie-banner__content {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-banner__title {
  margin: 0 0 6px 0;
  font-weight: bold;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  color: #e7edf4;
}

.cookie-banner__text a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner__actions {
  max-width: 1100px;
  margin: 12px auto 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  width: auto;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background: #f47c20;
  color: #ffffff;
}

.btn-secondary {
  background: #0b4f8a;
  color: #ffffff;
}

.btn:hover {
  opacity: 0.92;
}

@media (max-width: 768px) {
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

.logo-link {
  display: inline-block;
}

.logo-link img {
  display: block;
}
