/**************************************************************
* Clearfix
***************************************************************/
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    clear: both;
    *zoom: 1;
}

/**************************************************************
* Base
***************************************************************/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Times New Roman', sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.6;
}

:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --accent-yellow: #fbbf24;
  --light-blue: #dbeafe;
  --dark-blue: #1e40af;
  --success-green: #059669;
  --warning-orange: #f59e0b;
  --light-gray: #f8fafc;
  --medium-gray: #64748b;
  --dark-gray: #334155;
  --white: #ffffff;
}

/**************************************************************
* Accessibility
***************************************************************/
  /* Remove animations/transitions for people who prefer reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
 
  /* Skip link styles for accessibility */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
  }
  .skip-link:focus {
    top: 0;
  }
  .is-hidden {
    display: none !important;
  }

  /* focus states */
  a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--accent-yellow) !important;
    outline-offset: 2px !important;
}

/**************************************************************
* Header
***************************************************************/

.navbar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* border: 2px solid red; */
}

.navbar-nav .nav-link {
  /* font-weight: 500; */
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  /* border: 2px solid red; */

}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-yellow) !important;
}

/**************************************************************
* Hero / Main
***************************************************************/

.hero-section {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%),
              url('/public/images/herobg.webp') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  padding-bottom: 1.5rem;
}

.hero-buttons .btn {
  margin-bottom: 1rem;
  /* border: 2px solid red !important; */
}

.hero-features .col-4 {
  padding: 1rem 0.5rem;
  /* border: 2px solid red !important; */
}

.discover-btn {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  border: none;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  /* border: 2px solid red !important; */
}

.discover-btn:hover {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
  color: white;
}

/**************************************************************
* Services
***************************************************************/

.services-section {
  padding: 2.5rem 0;
  /* border: 2px solid red !important; */
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  /* border: 2px solid red !important; */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
  border-color: var(--secondary-blue);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  /* border: 2px solid red !important; */
}

.service-icon i {
  font-size: 2rem;
  color: white;
  /* border: 2px solid red !important; */
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 600;
  /* border: 2px solid red !important; */
}

/**************************************************************
* About us
***************************************************************/

.why-choose-section {
  padding: 80px 0;
  /* border: 2px solid red !important; */
}

.feature-list .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  /* border: 2px solid red !important; */
}

.feature-list .feature-item i {
  font-size: 1.2rem;
  margin-top: 2px;
  /* border: 2px solid red !important; */
}

.feature-item {
  font-size: 1.1rem;
  /* border: 2px solid red !important; */
}

.why-choose-section .container .row .col-lg-6 {
  /* border: 2px solid red !important; */
  padding: 1rem;
}

/**************************************************************
* Service Areas
***************************************************************/

.service-areas {
  padding: 80px 0;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding-left: 0rem !important;
}

.service-areas-grid .area-item {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-areas-grid .area-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
}


/**************************************************************
* Contact 
***************************************************************/

/* Contact Form Styles */
#contact {
  background-color: #f8f9fa;
  /* border: 2px solid red; */
}

#contact .form-control {
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
  /* border: 2px solid red; */
}

#contact .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#contact .btn-primary {
  padding: 0.75rem 2rem;
  font-weight: 600;
}

/* Bootstrap validation styles */
.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid {
  border-color: #198754;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Accessibility focus styles */
.form-control:focus,
.btn:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 0;
}

/**************************************************************
* Footer
***************************************************************/

footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%) !important;
}

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

footer a:hover {
  color: var(--accent-yellow) !important;
  border-bottom: 1px solid var(--accent-yellow);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-yellow);
  color: var(--dark-gray) !important;
  transform: translateY(-2px);
}

#footer-btn-bob a {
  padding: 1rem;
}

#footer-btn-bob a:hover {
  border: 1px solid var(--accent-yellow);
  border-radius: 8px;
  transform: translateY(-20px);
}

/**************************************************************
* Thank-You.html
***************************************************************/

[aria-busy="true"] {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

[aria-busy="true"]::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  margin-left: 0.5em;
  vertical-align: -0.1em;
  animation: rotate 0.75s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/**************************************************************
* Media queries
***************************************************************/

@media (max-width: 600px) {

  .hero-section {
    padding-top: 5rem;
  }

  #footer-btn-bob {
    margin-top: 1rem;
    font-size: 0.75rem;
    /* border: 2px solid red; */
  }

  #copyright {
    /* border: 2px solid red; */
    text-align: center;
  }

}

@media (max-width: 810px) {

  #services .container .row {
    /* border: 2px solid red; */
    display: flex;
    flex-direction: column;
    align-content: center;
  }

  .why-choose-section .container .row .col-lg-6 {
    /* border: 2px solid red !important; */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer-btn-bob a {
    font-size: 0.75rem;
    /* border: 2px solid red; */
  }

}