:root {
  --primary: #0d6efd;
  --secondary: #6c757d;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(0px);
  background-color: transparent !important;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.scrolled.navbar-dark .nav-link {
  color: rgba(0, 0, 0, 0.8) !important;
}

.navbar.scrolled.navbar-dark .nav-link:hover,
.navbar.scrolled.navbar-dark .nav-link.active {
  color: rgba(0, 0, 0, 1) !important;
}

.navbar .btn-primary {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
  transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
  background-color: #c82333 !important;
  border-color: #c82333 !important;
  color: white !important;
}

.navbar.scrolled .btn-primary {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.navbar.scrolled .btn-primary:hover {
  background-color: #c82333 !important;
  border-color: #c82333 !important;
  color: white !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 1) !important;
}

.hero-section {
  padding-top: 80px;
}

.hero-bg-image {
  object-fit: cover;
  z-index: 0;
}

.bg-gradient-overlay {
  background: linear-gradient(to bottom right, rgba(13, 110, 253, 0.4), rgba(108, 117, 125, 0.3), rgba(13, 110, 253, 0.4));
  z-index: 1;
}

.bg-gradient-hero {
  background: linear-gradient(to bottom right, rgba(220, 53, 69, 0.4), rgba(13, 110, 253, 0.3), rgba(220, 53, 69, 0.4));
  z-index: 1;
}

.bg-gradient-overlay-dark {
  background: linear-gradient(to bottom right, rgba(13, 110, 253, 0.8), rgba(108, 117, 125, 0.7), rgba(13, 110, 253, 0.8));
  z-index: 1;
  pointer-events: none;
}

.bg-gradient-contact {
  background: linear-gradient(to bottom right, rgba(220, 53, 69, 0.8), rgba(13, 110, 253, 0.7), rgba(220, 53, 69, 0.8));
  z-index: 1;
  pointer-events: none;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .rounded-3xl {
    border-radius: 2rem;
  }
}

/* Reviews Section */
.reviews-container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.photos-container img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photos-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Gallery page styles */
#gallery .col-6,
#gallery .col-md-4,
#gallery .col-lg-3 {
  margin-bottom: 1rem;
}

#gallery img {
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery img:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  #gallery img {
    border-radius: 2rem;
  }
}

/* Careers page form styles */
.form-control.rounded-3xl {
  border-radius: 1.5rem;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control.rounded-3xl:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  outline: none;
}

.form-label {
  color: #343a40;
  margin-bottom: 0.5rem;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-bg-light:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Button styles for About page */
.btn-secondary {
  background-color: rgba(128, 128, 128, 0.9);
  border-color: rgba(128, 128, 128, 0.9);
  color: white;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.btn-outline-secondary {
  border-color: rgba(128, 128, 128, 0.9);
  color: rgba(128, 128, 128, 0.9);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

/* About page CTA buttons */
.btn-cta-red {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-cta-red:hover {
  background-color: #c82333 !important;
  border-color: #c82333 !important;
  color: white !important;
}

.btn-cta-white {
  background-color: white !important;
  border-color: white !important;
  color: #343a40 !important;
  transition: all 0.3s ease;
}

.btn-cta-white:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #343a40 !important;
}

/* Hero section buttons - ensure white button is visible */
.hero-section .btn-cta-white {
  background-color: white !important;
  border-color: white !important;
  color: #343a40 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-cta-white:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #343a40 !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#contact .position-absolute:first-child {
  pointer-events: none;
}

#contact .container,
#contact .glass-card {
  pointer-events: auto;
}

.bg-gradient-primary-secondary {
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 576px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  -webkit-text-stroke: 0.1px black;
}

@media (min-width: 576px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-card-white {
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.4), 0 4px 16px 0 rgba(255, 255, 255, 0.2) !important;
}

.glass-card-white.shadow-lg {
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.4), 0 4px 16px 0 rgba(255, 255, 255, 0.2) !important;
}

#contact .glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.bg-gradient-why-us {
  background: linear-gradient(to bottom right, rgba(220, 53, 69, 0.6), rgba(13, 110, 253, 0.5), rgba(220, 53, 69, 0.6));
  z-index: 1;
  pointer-events: none;
}

.glass-card-why-us {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-hero {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-height: 44px;
}

.btn-hero.btn-cta-red {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.btn-hero.btn-cta-white {
  background-color: white !important;
  border-color: white !important;
  color: #343a40 !important;
}

@media (min-width: 576px) {
  .btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-hero.btn-cta-red:hover {
  background-color: #c82333 !important;
  border-color: #c82333 !important;
  color: white !important;
}

.btn-hero.btn-cta-white:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #343a40 !important;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.object-cover {
  object-fit: cover;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.9);
}

.small-sm-normal {
  font-size: 0.875rem;
}

@media (min-width: 576px) {
  .small-sm-normal {
    font-size: 1rem;
  }
}

.rounded-sm-pill {
  border-radius: 0.5rem;
}

@media (min-width: 576px) {
  .rounded-sm-pill {
    border-radius: 9999px;
  }
}

footer .text-muted:hover {
  color: var(--primary) !important;
  transition: color 0.3s ease;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
}

.z-3 {
  z-index: 3;
}

#services .card h3,
#services .card .h4 {
  color: #000 !important;
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .btn-hero {
    width: 100%;
  }
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.status-indicator.status-open {
  background-color: #28a745;
  animation: pulse-green 2s ease-in-out infinite;
}

.status-indicator.status-closed {
  background-color: #dc3545;
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    transform: scale(1);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    transform: scale(1);
  }
}

@media (min-width: 992px) {
  .col-lg-5-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (max-width: 991px) {
  .col-lg-5-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}