/* Global styles and color variables */
:root {
  --primary: #006f90; /* base blue tone */
  --secondary: #00a57b; /* complementary green tone */
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --text-dark: #2f2f2f;
  --text-light: #ffffff;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
}

/* Top bar */
.top-bar {
  background: var(--gradient);
  font-size: 0.9rem;
}

/* Navigation bar */
.nav-bar {
  background: #ffffff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.nav-container .brand img {
  max-height: 50px;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  position: relative;
}
.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero section */
.hero-section {
  position: relative;
  min-height: 70vh;
  background: url('e80c62b5-85ce-42e1-8c0d-e31d1c9d83fc.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-section h1,
.hero-section p {
  color: #fff;
}
.hero-section .btn-primary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.hero-section .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Cards for services */
.card img {
  max-height: 120px;
  object-fit: contain;
}
.card .card-title {
  font-size: 1rem;
}
.card .stretched-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}
.card .stretched-link:hover {
  text-decoration: underline;
}

/* Generic icon placeholder */
.icon {
  margin-right: 0.5rem;
  font-size: 1rem;
  line-height: 1;
}

/* Layout helpers */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
[class*='col-'] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.3333%; }
.col-3 { width: 25%; }
.col-2 { width: 20%; }

@media (min-width: 576px) {
  .col-sm-6 { width: 50%; }
}
@media (min-width: 768px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-6 { width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-6 { width: 50%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-3 { width: 25%; }
  .col-lg-2 { width: 20%; }
}

/* Utility classes similar to Bootstrap */
.border { border: 1px solid #e5e5e5 !important; }
.border-0 { border: none !important; }
.rounded { border-radius: 0.25rem !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-primary { background: var(--gradient) !important; color: #fff !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #ffffff !important; }
.text-dark { color: var(--text-dark) !important; }
.small { font-size: 0.875rem !important; }
.blockquote-footer { font-size: 0.875rem; color: #6c757d; }

/* Image responsive */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Margin helpers */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }

/* Padding helpers */
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }

/* Flex and alignment */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.fw-bold { font-weight: 700 !important; }
.lead { font-size: 1.25rem; }
.display-5 { font-size: 2.5rem; }
.btn { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 0.25rem; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border: none; }
.btn-primary:hover { background: var(--secondary); color: #fff; }

/* Outline button */
.btn-outline-light { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.2); }

/* Small button */
.btn-sm { font-size: 0.8rem; padding: 0.25rem 0.75rem; }
.btn-lg { font-size: 1.1rem; padding: 0.75rem 1.5rem; }

/* Height utility */
.h-100 { height: 100% !important; }

/* Gap utility for rows */
.g-4 { gap: 1.5rem; }

/* Responsive margin bottom for large screens */
.mb-lg-0 { margin-bottom: 1rem !important; }
@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
}

/* Card component */
.card { background: #fff; border: 1px solid #e5e5e5; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); height: 100%; display: flex; flex-direction: column; }
.card img { max-height: 120px; object-fit: contain; padding: 1rem; }
.card-body { flex: 1 1 auto; padding: 1rem; display: flex; flex-direction: column; }
.card-title { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.card-text { flex-grow: 1; font-size: 0.9rem; margin-bottom: 0.5rem; }
.card .stretched-link { color: var(--primary); text-decoration: none; font-weight: 500; margin-top: auto; }
.card .stretched-link:hover { text-decoration: underline; }

/* FAQ styles */
.faq-section details { border: 1px solid #e5e5e5; border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem; background: #fff; }
.faq-section summary { font-weight: 600; cursor: pointer; position: relative; padding-right: 1.5rem; }
.faq-section summary::marker { display: none; }
.faq-section summary::after { content: '+'; position: absolute; right: 0; top: 0; font-weight: 700; }
.faq-section details[open] summary::after { content: '-'; }
.faq-section p { margin-top: 0.5rem; margin-bottom: 0; }

/* Social links */
.social-links a { color: var(--primary); text-decoration: none; margin-right: 1rem; }
.social-links a:hover { text-decoration: underline; }

/* Testimonials */
.testimonial {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 1.5rem;
  height: 100%;
}
.testimonial p {
  font-style: italic;
}

/* Form styles */
.form-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  font-size: 1rem;
  background-color: #fff;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 111, 144, 0.25);
}

/* Footer styling */
footer {
  background: var(--gradient);
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
footer a:hover {
  text-decoration: underline;
}

/* Carousel text color override */
section#testimonials .blockquote {
  color: var(--text-dark);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .top-bar .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}