/* Global reset */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

/* Page layout with sidebar */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Sidebar */
.sidebar {
  background: #f1f7ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sidebar h3 {
  color: #0a3d62;
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 2px solid #3a8ad9;
  padding-bottom: 5px;
}

.sidebar p {
  color: #555;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.sidebar li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.sidebar li::before {
  content: "✔";
  color: #3a8ad9;
  position: absolute;
  left: 0;
}

.sidebar .quick-links li a {
  color: #0a3d62;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar .quick-links li a:hover {
  color: #3a8ad9;
  text-decoration: underline;
}

/* Main content sections styled as cards */
.main-content section.card {
  margin-bottom: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Section headings */
.services h2,
.about-trust h2,
.testimonials h2,
.blog h2,
.contact h2 {
  color: #0a3d62;
  margin-bottom: 30px;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
  margin-bottom: 10px;
  color: #0a3d62;
}

.card h3 a {
  color: #0a3d62;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card h3 a:hover {
  color: #3a8ad9;
  text-decoration: underline;
}

.card p {
  color: #555;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials blockquote {
  font-style: italic;
  background: #f1f7ff;
  padding: 20px;
  border-left: 5px solid #3a8ad9;
  margin: 0 0 20px;
  border-radius: 8px;
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #0a3d62;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3a8ad9;
  box-shadow: 0 0 6px rgba(58,138,217,0.3);
  outline: none;
}

.btn-primary {
  background: #0a3d62;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 0 auto;
}

.btn-primary:hover {
  background: #062743;
}

.btn-secondary {
  background: #3a8ad9;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: #0a3d62;
}

/* Responsive layout */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    margin-bottom: 30px;
  }
}