html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.footer {
  width: 100%;
  white-space: nowrap;
  margin-top: 2rem;
}

/* Navigation responsive fixes */
.navbar-brand {
  font-size: 1.1rem;
  font-weight: 500;
}

.brand-text {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1rem;
  }

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

/* Footer specific styles */
.footer p {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #a8c5d8 !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: normal;
}

.footer-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  max-height: 600px;
  min-height: 400px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-overlay {
  z-index: 2;
  max-width: 90%;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.btn-mobile {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    max-height: 500px;
    min-height: 350px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-mobile {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
    max-height: 400px;
    min-height: 300px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .btn-mobile {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: 120px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 50vh;
    max-height: 350px;
    min-height: 280px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }
}

/* Button styles */
.btn-success {
  background-color: #2a9d8f;
  border-color: #2a9d8f;
}

.btn-success:hover {
  background-color: #238b7e;
  border-color: #238b7e;
}

.btn-primary {
  background-color: #264653;
  border-color: #264653;
}

.btn-primary:hover {
  background-color: #1d3746;
  border-color: #1d3746;
}

/* Custom colors for headers */
.bg-primary {
  background-color: #264653 !important;
}

.bg-info {
  background-color: #2a9d8f !important;
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Social icons */
.social-icons a {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f8f9fa !important;
}
