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

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

body {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hero Section Styling */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Feature Cards */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
  font-size: 1.5rem;
}

/* Section Spacing */
.features-section,
.info-banner {
  margin-top: 0;
}

section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Under Construction Page Styling */
.under-construction-page {
  position: relative;
  min-height: 60vh;
}

.under-construction-page::before {
  content: '';
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-image: url('/images/ARPSC-LOGO.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .under-construction-page::before {
    width: 500px;
    height: 500px;
    top: 60%;
  }
}

.construction-content {
  position: relative;
  z-index: 1;
}

/* Navigation Active State */
.navbar-dark .navbar-nav .nav-link.active {
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}

/* Footer Styling */
footer {
  margin-top: auto;
}

/* Responsive Logo */
.navbar-brand img {
  object-fit: cover;
}

/* Card styling improvements */
.card {
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}