:root {
    --primary: #1F2B49;
    --success: #646C40;
    --silver: #b1a7a6ff;
    --dust-grey: #d3d3d3ff;
    --white-smoke: #f5f3f4ff;
    --white: #ffffffff;
}

/* General Styles
------------------------------*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--success);
}

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

.btn-primary:hover {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Navbar Styles
------------------------------*/
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-nav .nav-link {
    color: var(--primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--success);
}

/* Hero Section
------------------------------*/
.hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 43, 73, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero .tagline {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Overview Section
------------------------------*/
.overview-section {
    padding: 5rem 0;
    background-color: var(--white-smoke);
}

.overview-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.overview-section .lead {
    font-size: 1.25rem;
    color: var(--silver);
}

/* Services Section
------------------------------*/
.services-section {
    padding: 5rem 0;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.service-card h4 {
    margin-bottom: 1rem;
}

/* Service Areas
------------------------------*/
.service-areas {
    background-color: var(--dust-grey);
    padding: 3rem 0;
}

.service-areas h3 {
    margin-bottom: 1.5rem;
}

.area-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin: 0.25rem;
    font-weight: 500;
}

/* CTA Section
------------------------------*/
.cta-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn {
    background-color: var(--success);
    border-color: var(--success);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* About Section
------------------------------*/
.about-section {
    padding: 5rem 0;
}

.about-section img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Team Section
------------------------------*/
.team-section {
    padding: 5rem 0;
    background-color: var(--white-smoke);
}

.team-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-body {
    padding: 1.5rem;
    text-align: center;
}

/* Contact Section
------------------------------*/
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.contact-info h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info i {
    color: var(--success);
    margin-right: 0.5rem;
}

.contact-form {
    background-color: var(--white-smoke);
    padding: 2rem;
    border-radius: 10px;
}

/* Map Section
------------------------------*/
.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styles
------------------------------*/
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: var(--silver);
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--silver);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--success);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--success);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-licenses {
    font-size: 0.85rem;
    color: var(--silver);
}

/* 404 Page
------------------------------*/
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white-smoke);
}

.error-page h1 {
    font-size: 8rem;
    color: var(--primary);
    font-weight: 700;
}

.error-page h2 {
    margin-bottom: 1.5rem;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: rgb(28, 28, 167);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #3308a0;
  border-top-color: #4c0395;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}