:root {
  --primary: #1a3a52;
  --primary-light: #2c5aa0;
  --secondary: #d4af37;
  --text-light: #666;
  --bg-light: #f5f5f5;
  --border: #ddd;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background-color: #1a3a52;
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1, header .site-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

header p {
  font-size: 14px;
  opacity: 0.9;
}

nav {
  background-color: rgba(0,0,0,0.1);
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  display: inline-block;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #d4af37;
  color: #1a3a52;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero h1, .hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  color: #ffffff;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background-color: #d4af37 !important;
  color: #1a3a52 !important;
}

.btn-primary:hover {
  background-color: #ffdd00 !important;
}

/* MAIN CONTENT */
main {
  padding: 40px 20px;
}

section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 32px;
  color: #1a3a52;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 15px;
}

section h3 {
  font-size: 22px;
  color: #1a3a52;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* TRUST INDICATORS */
.trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.indicator {
  text-align: center;
  padding: 25px;
  background-color: #f5f5f5;
  border-radius: 8px;
  border-top: 4px solid #d4af37;
}

.indicator h4 {
  font-size: 24px;
  color: #1a3a52;
  margin-bottom: 10px;
  font-weight: 700;
}

.indicator p {
  font-size: 14px;
  color: #666;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.service-card {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #d4af37;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-card h4 {
  color: #1a3a52;
  margin-bottom: 10px;
  font-size: 18px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.industry-item {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #ddd;
}

.industry-item h4 {
  color: #1a3a52;
  margin-bottom: 8px;
  font-size: 16px;
}

.industry-item p {
  font-size: 13px;
  color: #666;
}

/* CONTACT FORM */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

.contact-form {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1a3a52;
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #d4af37;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  background-color: white;
  color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #ffdd00;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  background-color: #fffef5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background-color: #d4af37 !important;
  color: #1a3a52 !important;
  padding: 14px 35px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  width: 100% !important;
  transition: all 0.3s !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

button[type="submit"]:hover {
  background-color: #ffdd00 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

.contact-info {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

.contact-info h3 {
  color: #1a3a52;
  margin-bottom: 25px;
  font-size: 24px;
}

.contact-method {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method h4 {
  color: #d4af37;
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-method p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background-color: #1a3a52;
  color: white;
  padding: 40px 20px;
  margin-top: 50px;
}

footer h4 {
  margin-bottom: 15px;
  color: #d4af37;
  font-size: 16px;
}

footer p, footer a {
  font-size: 14px;
  opacity: 0.9;
}

/* Keep footer contact details and links readable against the dark background. */
footer p, footer a { opacity: 1 !important; }

footer a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffeb99;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1, .hero h2 {
    font-size: 28px;
  }

  section h2 {
    font-size: 24px;
  }

  .services-grid,
  .industries-grid,
  .trust-indicators {
    grid-template-columns: 1fr;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
  }

  nav a {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero h1, .hero h2 {
    font-size: 22px;
  }

  section h2 {
    font-size: 20px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Shared page headings, navigation and consultation links */
.content-main { padding: 0; }
.hero h1 { border-bottom: 3px solid #d4af37; padding-bottom: 15px; }
.cta-button { display: inline-block; padding: 14px 35px; border-radius: 5px; background: #d4af37; color: #1a3a52; font-weight: 700; text-decoration: none; }
.cta-button:hover { background: #ffdd00; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; background: transparent; margin: 0 0 24px; color: #666; font-size: 14px; }
.breadcrumb a { padding: 0; color: #1a3a52; text-decoration: underline; }
.breadcrumb a:hover { background: transparent; color: #1a3a52; }
.related-guides { margin: 28px 0; padding: 22px; border-radius: 8px; background: #f5f5f5; }
.related-guides h2 { font-size: 22px; text-align: left; border: none; padding: 0; margin-bottom: 12px; }
.related-guides ul { margin-left: 20px; line-height: 1.9; }
.guide-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; margin-left: 20px; }
.service-area-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin-top: 20px; }
.guide-links a, .service-area-links a, .related-guides a { color: #1a3a52; }
@media (max-width: 480px) { .guide-links { grid-template-columns: 1fr; } .cta-button { padding: 12px 25px; font-size: 14px; } }
