:root {
  --brand-orange: #f7931e;
  --brand-orange-hover: #e07e0a;
  --brand-orange-light: rgba(247, 147, 30, 0.12);
  --dark-bg: #1f3349;
  --dark-card: rgba(31, 51, 73, 0.85);
  --light-gray: #b0b8c8;
  --navy: #1f3349;
  --navy-light: #2a4460;
  --navy-dark: #162538;
  --body-color: #1f3349;
  --muted-text: #546a83;
  --bs-body-color: #1f3349;
  --bs-heading-color: #1f3349;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--body-color) !important;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  color: var(--body-color);
}

.card-title {
  color: var(--body-color) !important;
}

.card {
  color: var(--body-color);
}

p, li, span, div, strong, em, label {
  color: inherit;
}

.text-muted {
  color: var(--muted-text) !important;
}

.text-white,
.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6,
.text-white p, .text-white li, .text-white span,
.text-white div, .text-white strong {
  color: #ffffff !important;
}

.text-light,
.text-light h1, .text-light h2, .text-light h3,
.text-light h4, .text-light h5, .text-light h6,
.text-light p, .text-light li, .text-light span,
.text-light div, .text-light strong {
  color: #f8f9fa !important;
}

.bg-navy,
.bg-navy h1, .bg-navy h2, .bg-navy h3,
.bg-navy h4, .bg-navy h5, .bg-navy h6,
.bg-navy p, .bg-navy li, .bg-navy span,
.bg-navy div, .bg-navy strong {
  color: #ffffff;
}

.bg-navy .text-brand-orange,
.text-white .text-brand-orange,
.text-light .text-brand-orange {
  color: var(--brand-orange) !important;
}

.bg-navy .text-light-gray,
.text-white .text-light-gray,
.text-light .text-light-gray {
  color: var(--light-gray) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.text-brand-orange {
  color: var(--brand-orange) !important;
}

.text-light-gray {
  color: var(--light-gray) !important;
}

.bg-dark-card {
  background-color: var(--dark-card) !important;
  backdrop-filter: blur(10px);
}

.bg-brand-orange-light {
  background-color: var(--brand-orange-light) !important;
}

.border-brand-orange {
  border: 2px solid var(--brand-orange) !important;
}

.btn-brand-orange {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

.btn-brand-orange:hover {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
}

.btn-brand-orange:active,
.btn-brand-orange:focus {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: white;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-number {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--brand-orange) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--brand-orange) !important;
}

.hover-orange:hover {
  color: var(--brand-orange) !important;
}

.hero-section {
  background: linear-gradient(135deg, rgba(31, 37, 56, 0.85) 0%, rgba(42, 68, 96, 0.85) 50%, rgba(22, 37, 56, 0.85) 100%),
              url('/images/710bc31f-5703-48ed-9494-f4ef9b7a5167.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(247, 147, 30, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(247, 147, 30, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.min-vh-50 {
  min-height: 50vh;
}

.min-vh-60 {
  min-height: 60vh;
}

.min-vh-75 {
  min-height: 75vh;
}

.feature-card,
.service-card,
.info-card,
.value-card {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.service-card-img {
  height: 220px;
  object-fit: cover;
}

.feature-card:hover,
.service-card:hover,
.info-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(31, 51, 73, 0.12) !important;
}

.hero-image-placeholder,
.about-image-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-img-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.service-img-wrapper:hover .service-img {
  transform: scale(1.03);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-animation {
  animation: fadeInUp 0.8s ease-out;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 0.25rem rgba(247, 147, 30, 0.25);
}

.form-label {
  color: var(--body-color);
}

a {
  color: var(--brand-orange);
}

a:hover {
  color: var(--brand-orange-hover);
}

.card {
  border-color: rgba(31, 51, 73, 0.08);
}

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

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.carousel-image-wrapper {
  height: 550px;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 3rem;
  background: linear-gradient(transparent, rgba(31, 51, 73, 0.95));
  color: #ffffff;
}

.carousel-caption-custom h5 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.carousel-caption-custom p {
  color: var(--light-gray) !important;
  margin-bottom: 0;
  font-size: 1rem;
}

.carousel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  color: #ffffff;
}

.carousel-nav-btn:hover {
  background-color: var(--brand-orange-hover);
  transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: 1;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: scale(1.2);
}

.gallery-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(31, 51, 73, 0.15) !important;
}

.gallery-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .display-2 {
    font-size: 2.5rem;
  }

  .display-3 {
    font-size: 1.75rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }

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

  .hero-img {
    height: 280px;
  }

  .carousel-image-wrapper {
    height: 300px;
  }

  .carousel-caption-custom {
    padding: 1rem 1.5rem;
  }

  .carousel-caption-custom h5 {
    font-size: 1.1rem;
  }

  .carousel-caption-custom p {
    font-size: 0.85rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 12%;
  }

  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .gallery-img {
    height: 180px;
  }

  .service-img {
    height: 280px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-circle i {
    font-size: 20px !important;
  }

  .card-body.p-4.p-md-5 {
    padding: 1.25rem !important;
  }

  .page-header {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .page-header .display-3 {
    font-size: 1.75rem;
  }

  footer .col-lg-4 img {
    height: 60px !important;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .display-3 {
    font-size: 1.5rem;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .display-5 {
    font-size: 1.25rem;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-body {
    padding: 1rem;
  }

  .form-control-lg,
  .form-select-lg {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
  }
}

footer a,
footer span {
  word-break: break-word;
  overflow-wrap: break-word;
}
